[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110721.144808.175750981188812579.davem@davemloft.net>
Date: Thu, 21 Jul 2011 14:48:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: error27@...il.com, xma@...ibm.com, mirq-linux@...e.qmqm.pl,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch net-next-2.6 v2] skbuff: fix error handling in
pskb_copy()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 20 Jul 2011 10:59:46 +0200
> Le mercredi 20 juillet 2011 à 11:51 +0300, Dan Carpenter a écrit :
>> 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 <error27@...il.com>
>
> Thanks Dan
>
> Reviewed-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists