mac802154: properly free incoming skbs on decryption failure
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Wed, 11 Jun 2014 10:03:06 +0000 (12:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 19:10:18 +0000 (12:10 -0700)
commita374eeb5e5b35c877a890dce5d3f7cca5a3e33f6
tree943d4d192ac43515c511eeb51a0d30903e1ed435
parentd5c4858237fe43c30714f4447ccec87d5fb3fcde
mac802154: properly free incoming skbs on decryption failure

mac802154 RX did not free skbs on decryption failure, assuming that the
caller would when the local rx handler returned _DROP. This was false.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/wpan.c