]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "s390/qeth: fix using of ref counter for rxip addresses"
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Tue, 27 Feb 2018 17:58:15 +0000 (18:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 16:13:12 +0000 (11:13 -0500)
commitf86952783879ea86feeff0132e45403fa44a3d85
tree2c98fce9b83f1acfabd733b23e41b96a6435e75f
parent1cbb727c556271316afa88705f2eaba5e45a172d
Revert "s390/qeth: fix using of ref counter for rxip addresses"

This reverts commit 4b5e1791c6e1c333405d74b13a768e1fbdc5720e.

The issue this attempted to fix never actually occurs.
l3_add_rxip() checks (via l3_ip_from_hash()) if the requested address
was previously added to the card. If so, it returns -EEXIST and doesn't
call l3_add_ip().
As a result, the "address exists" path in l3_add_ip() is never taken
for rxip addresses, and this patch had no effect.

Fixes: 4b5e1791c6e1 ("s390/qeth: fix using of ref counter for rxip addresses")
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