Re: [PATCH] ISDN: fix double free bug in isdn_net
From: David Miller
Date: Tue Aug 15 2006 - 05:12:40 EST
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.
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/