diff options
author | Ursula Braun | 2017-01-12 15:48:43 +0100 |
---|---|---|
committer | David S. Miller | 2017-01-12 16:02:43 +0100 |
commit | e48b9eaaa29a0a7d5da2df136b07eefa0180d584 (patch) | |
tree | 1a987d76d8e7fd0daac4e4f1426eaf1cf841ed49 /drivers/ata/pata_oldpiix.c | |
parent | s390/qeth: issue STARTLAN as first IPA command (diff) | |
download | kernel-qcow2-linux-e48b9eaaa29a0a7d5da2df136b07eefa0180d584.tar.gz kernel-qcow2-linux-e48b9eaaa29a0a7d5da2df136b07eefa0180d584.tar.xz kernel-qcow2-linux-e48b9eaaa29a0a7d5da2df136b07eefa0180d584.zip |
s390/qeth: fix retrieval of vipa and proxy-arp addresses
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>
Diffstat (limited to 'drivers/ata/pata_oldpiix.c')
0 files changed, 0 insertions, 0 deletions