summaryrefslogtreecommitdiffstats
path: root/include/net/wext.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>2018-02-27 18:58:13 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-28 11:13:12 -0500
commit98d823ab1fbdcb13abc25b420f9bb71bade42056 (patch)
tree45f70d9a88e1181206722bb7d244026b8d5a71d0 /include/net/wext.h
parent12472af89632beb1ed8dea29d4efe208ca05b06a (diff)
downloadblackbird-obmc-linux-98d823ab1fbdcb13abc25b420f9bb71bade42056.tar.gz
blackbird-obmc-linux-98d823ab1fbdcb13abc25b420f9bb71bade42056.zip
s390/qeth: fix IP removal on offline cards
If the HW is not reachable, then none of the IPs in qeth's internal table has been registered with the HW yet. So when deleting such an IP, there's no need to stage it for deregistration - just drop it from the table. This fixes the "add-delete-add" scenario on an offline card, where the the second "add" merely increments the IP's use count. But as the IP is still set to DISP_ADDR_DELETE from the previous "delete" step, l3_recover_ip() won't register it with the HW when the card goes online. Fixes: 5f78e29ceebf ("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>
Diffstat (limited to 'include/net/wext.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud