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)
commitb22d73d6689fd902a66c08ebe71ab2f3b351e22f
tree75d8eb5b090ec93229ccfe143eeecdf9701b4a79
parent7fbd9493f0eeae8cef58300505a9ef5c8fce6313
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