Thread (10 messages) flat view 10 messages, 5 authors, 2011-07-21

Re: [patch net-next-2.6 v2] skbuff: fix error handling in pskb_copy()

From: David Miller <davem@davemloft.net>
Date: 2011-07-21 21:49:16
Also in: kernel-janitors

From: Eric Dumazet <redacted>
Date: Wed, 20 Jul 2011 10:59:46 +0200
Le mercredi 20 juillet 2011 à 11:51 +0300, Dan Carpenter a écrit :
quoted
There are two problems:
1) "n" was allocated with alloc_skb() so we should free it with
   kfree_skb() instead of regular kfree().
2) We return the freed pointer instead of NULL.

Signed-off-by: Dan Carpenter <redacted>
Thanks Dan

Reviewed-by: Eric Dumazet <redacted>
Applied, thanks everyone.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help