Commit 668e2251 authored by Julian Wiedmann's avatar Julian Wiedmann Committed by David S. Miller

s390/qeth: don't init refcount twice for mcast IPs

mcast IP objects are allocated within qeth_l3_add_mcast_rtnl(),
with .ref_counter already set to 1 via qeth_l3_init_ipaddr().
Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 46237bf3
...@@ -1235,7 +1235,6 @@ static void qeth_l3_rx_mode_work(struct work_struct *work) ...@@ -1235,7 +1235,6 @@ static void qeth_l3_rx_mode_work(struct work_struct *work)
kfree(addr); kfree(addr);
break; break;
} }
addr->ref_counter = 1;
fallthrough; fallthrough;
default: default:
/* for next call to set_rx_mode(): */ /* for next call to set_rx_mode(): */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment