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>
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@xxxxxxxxx>
Don't top-post
Plain text mails only, please
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at