netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sctp compilation failed due to lack of sctp_local_addr_free
@ 2011-05-26 16:28 Dmitry Kravkov
  2011-05-26 16:41 ` Dmitry Kravkov
  2011-05-26 17:39 ` David Miller
  0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Kravkov @ 2011-05-26 16:28 UTC (permalink / raw)
  To: david Miller, netdev@vger.kernel.org; +Cc: Jacek Luczak


---
 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 6338413..83e3011 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)
 	/* Empty the bind address list. */
 	list_for_each_entry_safe(addr, temp, &bp->address_list, list) {
 		list_del_rcu(&addr->list);
-		call_rcu(&addr->rcu, sctp_local_addr_free);
+		kfree_rcu(addr, rcu);
 		SCTP_DBG_OBJCNT_DEC(addr);
 	}
 }
-- 
1.7.2.2





^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-26 19:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26 16:28 [PATCH] sctp compilation failed due to lack of sctp_local_addr_free Dmitry Kravkov
2011-05-26 16:41 ` Dmitry Kravkov
2011-05-26 17:39 ` David Miller
2011-05-26 18:40   ` Allan, Bruce W
2011-05-26 18:44     ` David Miller
2011-05-26 19:07       ` Dmitry Kravkov
2011-05-26 19:58         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).