[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1376097622.20509.19.camel@edumazet-glaptop>
Date: Fri, 09 Aug 2013 18:20:22 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Vlad Yasevich <vyasevich@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
linux-sctp@...r.kernel.org, dborkman@...hat.com
Subject: Re: [PATCH] net: sctp: fix panic during skb_orphan()
On Fri, 2013-08-09 at 20:39 -0400, Vlad Yasevich wrote:
> On 08/09/2013 07:20 PM, Eric Dumazet wrote:
> > Why not using a dummy destructor ?
>
> It would just be useless once we do proper accounting for all chunks.
> But, I'll send a different idea if this is just too ugly.
Setting skb->sk is no accounting.
It seems you would better use skb->cb[] so that you are 100% sure this
skb->sk doesn't leak outside of SCTP code.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists