OSDN Git Service

mac802154: fix memory leaks
authorAlan Ott <alan@signal11.us>
Thu, 29 Nov 2012 18:25:10 +0000 (18:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2012 17:19:24 +0000 (12:19 -0500)
commitfcefbe9fcb3b0d72c91629f7fcf7ea09a46ab2c1
tree7b68000fe15086df2037cf4dbb89242b77257a7f
parentb333b7e6ec210412be49d1dc67b62d4e565a0cd6
mac802154: fix memory leaks

kfree_skb() was not getting called in the case of some failures.
This was pointed out by Eric Dumazet.

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/tx.c
net/mac802154/wpan.c