Thread (131 messages) 131 messages, 7 authors, 2010-01-21

Re: [PATCH alt.2] af_packet: Don't use skb after dev_queue_xmit()

From: Jarek Poplawski <hidden>
Date: 2010-01-06 19:40:28
Also in: lkml

On Wed, Jan 06, 2010 at 06:49:57AM -0800, Stephen Hemminger wrote:
On Wed, 6 Jan 2010 09:15:32 +0000
Jarek Poplawski [off-list ref] wrote:
quoted
tpacket_snd() can change and kfree an skb after dev_queue_xmit(),
which is illegal.

With debugging by: Stephen Hemminger [off-list ref]

Reported-by: Michael Breuer <redacted>
Signed-off-by: Jarek Poplawski <redacted>
Good catch.
Acked-by: Stephen Hemminger <redacted>
First of all, we're incredibly lucky that such a helpful guy as
Michael had misfortune to hit so helpfully broken piece of hardware ;-)

Thanks,
Jarek P.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help