summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic7xxx/aic7xxx_93cx6.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2017-01-12 14:48:43 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-15 14:53:16 (GMT)
commitc4d567ef164eefc7b5fbae1a634b160faee6cbf7 (patch)
treef0152977c0efc3f7de0fbd809823c7c6929b84e0 /drivers/scsi/aic7xxx/aic7xxx_93cx6.c
parente793ad50d151c482b38e4e8851ff66c2a86e089b (diff)
downloadlinux-c4d567ef164eefc7b5fbae1a634b160faee6cbf7.tar.xz
s390/qeth: fix retrieval of vipa and proxy-arp addresses
[ Upstream commit e48b9eaaa29a0a7d5da2df136b07eefa0180d584 ] qeth devices in layer3 mode need a separate handling of vipa and proxy-arp addresses. vipa and proxy-arp addresses processed by qeth can be read from userspace. Introduced with commit 5f78e29ceebf ("qeth: optimize IP handling in rx_mode callback") the retrieval of vipa and proxy-arp addresses is broken, if more than one vipa or proxy-arp address are set. The qeth code used local variable "int i" for 2 different purposes. This patch now spends 2 separate local variables of type "int". While touching these functions hash_for_each_safe() is converted to hash_for_each(), since there is no removal of hash entries. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Reviewed-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Reference-ID: RQM 3524 Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_93cx6.c')
0 files changed, 0 insertions, 0 deletions