Skip to contentSkip to conversation

sctp compilation failed due to lack of sctp_local_addr_free

PATCH In review Dmitry Kravkov 3 participants 7 messages May 26, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sctp compilation failed due to lack of sctp_local_addr_free

---
 net/sctp/bind_addr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/sctp/bind_addr.c +1 -1
index 6338413..83e3011 100644
@@ -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);
 	}
 }
Signature · 1 line
1.7.2.2
#1 lore raw
Quoted 4 lines · Dmitry Kravkov
---
 net/sctp/bind_addr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

It was easier to fix it like commit 1231f0baa547a541a7481119323b7f964dda4788 does, than to disable it in kernel config :)

maintainer
#4 lore raw

From: "Allan, Bruce W" <[email protected]>
Date: Thu, 26 May 2011 11:40:34 -0700

Quoted 9 lines
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of David Miller
Sent: Thursday, May 26, 2011 10:39 AM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: Re: [PATCH] sctp compilation failed due to lack of sctp_local_addr_free

Quoted 3 lines
Quoted 1 line

This has been fixed for days.

Fixed in net-2.6, yes, but not yet in net-next-2.6

net-next-2.6 is not active and is just a dummy tree for Stephen Rothwell to pull into -next

You should never be referencing or using net-next-2.6 during the merge window when new features changes are not being accepted. Only net-2.6 is active during this time.

#5 lore raw
Quoted 14 lines · David Miller

From: "Allan, Bruce W" <[email protected]>
Date: Thu, 26 May 2011 11:40:34 -0700

Quoted 11 lines
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of David Miller
Sent: Thursday, May 26, 2011 10:39 AM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: Re: [PATCH] sctp compilation failed due to lack of sctp_local_addr_free

This has been fixed for days.

Quoted 9 lines
Quoted 1 line

Fixed in net-2.6, yes, but not yet in net-next-2.6

net-next-2.6 is not active and is just a dummy tree for Stephen Rothwell to pull into -next

You should never be referencing or using net-next-2.6 during the merge window when new features changes are not being accepted. Only net-2.6 is active during this time.

Hmm, so how similar will be net-2.6 and net-next-2.6 when re-opened? You apply a lot of fixes during this time...

And yes, i've hit the compilation error in net-next since i'm using it as basis for future features submit

maintainer
#6 lore raw

From: "Dmitry Kravkov" <[email protected]>
Date: Thu, 26 May 2011 22:07:01 +0300

Quoted 20 lines · David Miller
Quoted 19 lines

From: "Allan, Bruce W" <[email protected]>
Date: Thu, 26 May 2011 11:40:34 -0700

Quoted 9 lines
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of David Miller
Sent: Thursday, May 26, 2011 10:39 AM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: Re: [PATCH] sctp compilation failed due to lack of sctp_local_addr_free

Quoted 3 lines
Quoted 1 line

This has been fixed for days.

Fixed in net-2.6, yes, but not yet in net-next-2.6

net-next-2.6 is not active and is just a dummy tree for Stephen Rothwell to pull into -next

Quoted 6 lines
Quoted 4 lines

You should never be referencing or using net-next-2.6 during the merge window when new features changes are not being accepted. Only net-2.6 is active during this time.

Hmm, so how similar will be net-2.6 and net-next-2.6 when re-opened? You apply a lot of fixes during this time...

When it opens up I just update net-next-2.6 to whatever is in net-2.6 at the time.