6LoWPAN: double free in lowpan_fragment_xmit()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Nov 2011 22:36:43 +0000 (22:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 23:13:38 +0000 (18:13 -0500)
commitd445ba613fe445c8f30733e68089614b40b3df5b
tree048b3c13a4112ad3cdc4464e297207e6cd483e5a
parentdaad6167d97b43cfc448cfe698784730b53ed3d6
6LoWPAN: double free in lowpan_fragment_xmit()

dev_queue_xmit() consumes its own skb, so the call to dev_kfree_skb()
in lowpan_fragment_xmit() is a double free.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c