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)
commitcb816192d986f7596009dedcf2201fe2e5bc2aa7
tree24b599c758667e7bce362eb2af939d32d6ee50df
parentea4ae35a829cc53b4df131e845216b2409ed706f
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