linux/drivers/s390
Julian Wiedmann 0cfe6df938 s390/qeth: fix thinko in IPv4 multicast address tracking
[ Upsteam commit bc3ab70584 ]

Commit 5f78e29cee ("qeth: optimize IP handling in rx_mode callback")
reworked how secondary addresses are managed for qeth devices.
Instead of dropping & subsequently re-adding all addresses on every
ndo_set_rx_mode() call, qeth now keeps track of the addresses that are
currently registered with the HW.
On a ndo_set_rx_mode(), we thus only need to do (de-)registration
requests for the addresses that have actually changed.

On L3 devices, the lookup for IPv4 Multicast addresses checks the wrong
hashtable - and thus never finds a match. As a result, we first delete
*all* such addresses, and then re-add them again. So each set_rx_mode()
causes a short period where the IPv4 Multicast addresses are not
registered, and the card stops forwarding inbound traffic for them.

Fix this by setting the ->is_multicast flag on the lookup object, thus
enabling qeth_l3_ip_from_hash() to search the correct hashtable and
find a match there.

Fixes: 5f78e29cee ("qeth: optimize IP handling in rx_mode callback")
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-12-16 16:25:46 +01:00
..
block s390/dasd: check for device error pointer within state change interrupts 2017-11-08 10:08:37 +01:00
char s390/vmlogrdr: fix IUCV buffer allocation 2017-01-09 08:32:22 +01:00
cio s390/chsc: Add exception handler for CHSC instruction 2017-03-15 10:02:41 +08:00
crypto s390/zcrypt: Introduce CEX6 toleration 2017-03-22 12:43:38 +01:00
net s390/qeth: fix thinko in IPv4 multicast address tracking 2017-12-16 16:25:46 +01:00
scsi scsi: zfcp: fix erp_action use-before-initialize in REC action trace 2017-11-02 09:49:14 +01:00
virtio virtio/s390: deprecate old transport 2016-08-09 13:42:41 +03:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00