Re: [PATCH] ISDN: fix double free bug in isdn_net
From: Jesper Juhl
Date: Tue Aug 15 2006 - 06:39:58 EST
On 15/08/06, David Miller <davem@xxxxxxxxxxxxx> wrote:
From: "Jesper Juhl" <jesper.juhl@xxxxxxxxx>I'll look at it tonight and if writebuf_skb() method never frees the
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.
skb I'll send a patch.
Jesper Juhl <jesper.juhl@xxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/