projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46237bf
)
s390/qeth: don't init refcount twice for mcast IPs
author
Julian Wiedmann
<jwi@linux.ibm.com>
Wed, 23 Sep 2020 08:36:52 +0000
(10:36 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 23 Sep 2020 19:07:54 +0000
(12:07 -0700)
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: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/qeth_l3_main.c
b/drivers/s390/net/qeth_l3_main.c
index
33fdad1
..
903d7b6
100644
(file)
--- a/
drivers/s390/net/qeth_l3_main.c
+++ b/
drivers/s390/net/qeth_l3_main.c
@@
-1235,7
+1235,6
@@
static void qeth_l3_rx_mode_work(struct work_struct *work)
kfree(addr);
break;
}
- addr->ref_counter = 1;
fallthrough;
default:
/* for next call to set_rx_mode(): */