mac802154: fixed potential skb leak with mac802154_parse_frame_start
authorMartin Townsend <martin.townsend@xsilon.com>
Tue, 19 Aug 2014 17:03:28 +0000 (19:03 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 19 Aug 2014 17:17:41 +0000 (19:17 +0200)
commit7629d1eaf33672c9d35ba1e2ad12b459d56ca3b1
tree44f968094f67e27b17e99fd7887891c1c1313e94
parent77b2f2865956b7573f9b040db7a9f808b434acd1
mac802154: fixed potential skb leak with mac802154_parse_frame_start

This patch fix a memory leak if received frame was not able to parse.

Signed-off-by: Martin Townsend <martin.townsend@xsilon.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/wpan.c