Messages in this thread | | | Date | Tue, 15 Aug 2006 12:42:07 +0200 | From | "Jesper Juhl" <> | Subject | Re: [PATCH] ISDN: fix double free bug in isdn_net |
| |
On 15/08/06, David Miller <davem@davemloft.net> wrote: > From: "Jesper Juhl" <jesper.juhl@gmail.com> > Date: Tue, 15 Aug 2006 11:08:35 +0200 > > > Hmm, perhaps I made a mistake and missed a path. Maybe it would be > > better to fix if by making isdn_writebuf_skb_stub() always set the skb > > to NULL when it does free it. That would add a few more assignments > > but should ensure the right result always. > > What do you say? > > Do we know if the ->writebuf_skb() method ever frees the skb? If it > never does, then yes your suggestion would be one way to handle this. > I'll look at it tonight and if writebuf_skb() method never frees the skb I'll send a patch.
-- Jesper Juhl <jesper.juhl@gmail.com> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |