OSDN Git Service

6lowpan: fix process_data return values
authorMartin Townsend <mtownsend1973@gmail.com>
Thu, 23 Oct 2014 14:40:54 +0000 (15:40 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 27 Oct 2014 14:51:15 +0000 (15:51 +0100)
commit04dfd7386ab7a0f016bbcf30b3a5051650242120
treee522b9e25bc86a20a3530d5e97998548044e1da1
parentf8b361768ea2eaf9b21dfbe7388958ec31798c8b
6lowpan: fix process_data return values

As process_data now returns just error codes fix up the calls to this
function to only drop the skb if an error code is returned.

Signed-off-by: Martin Townsend <mtownsend1973@gmail.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c
net/ieee802154/6lowpan_rtnl.c