]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: fix using of ref counter for rxip addresses
authorKittipon Meesompop <kmeesomp@linux.vnet.ibm.com>
Tue, 15 Aug 2017 15:02:50 +0000 (17:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Aug 2017 17:58:40 +0000 (10:58 -0700)
commit4b5e1791c6e1c333405d74b13a768e1fbdc5720e
tree24b599c758667e7bce362eb2af939d32d6ee50df
parent6324e042bd899396c63997da1c342aa5c7f3b6ed
s390/qeth: fix using of ref counter for rxip addresses

IP-address setting and removal are delayed when the device is not yet in
state SOFTSETUP or UP. ref_counter has been implemented only for
ip-address with type normal. In this patch ref_counter logic is also used
for ip-address with type rxip to allow appropriate handling of multiple
postponed rxip add and del calls.

Signed-off-by: Kittipon Meesompop <kmeesomp@linux.vnet.ibm.com>
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