diff options
-rw-r--r-- | net/sctp/bind_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c index 6338413376c8..83e3011c19ca 100644 --- a/net/sctp/bind_addr.c +++ b/net/sctp/bind_addr.c | |||
@@ -145,7 +145,7 @@ static void sctp_bind_addr_clean(struct sctp_bind_addr *bp) | |||
145 | /* Empty the bind address list. */ | 145 | /* Empty the bind address list. */ |
146 | list_for_each_entry_safe(addr, temp, &bp->address_list, list) { | 146 | list_for_each_entry_safe(addr, temp, &bp->address_list, list) { |
147 | list_del_rcu(&addr->list); | 147 | list_del_rcu(&addr->list); |
148 | call_rcu(&addr->rcu, sctp_local_addr_free); | 148 | kfree_rcu(addr, rcu); |
149 | SCTP_DBG_OBJCNT_DEC(addr); | 149 | SCTP_DBG_OBJCNT_DEC(addr); |
150 | } | 150 | } |
151 | } | 151 | } |