]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: don't apply takeover changes to RXIP
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Wed, 13 Dec 2017 17:56:30 +0000 (18:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 16:29:43 +0000 (11:29 -0500)
commit61fbbebe58471d268a206f49442bbe131fe2acad
tree75d8eb5b090ec93229ccfe143eeecdf9701b4a79
parentdbf42664402b49dc2aadee43b1f938ad9b3acf0f
s390/qeth: don't apply takeover changes to RXIP

When takeover is switched off, current code clears the 'TAKEOVER' flag on
all IPs. But the flag is also used for RXIP addresses, and those should
not be affected by the takeover mode.
Fix the behaviour by consistenly applying takover logic to NORMAL
addresses only.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c
drivers/s390/net/qeth_l3_sys.c