Currently it is up to the functions below lowpan_rcv to free the skb on error
conditions. This patch now removes all the UAPI error codes and process
data
now returns -1 if there is a problem. In this scenario lowpan_rcv will free
the skb and return NET_RX_DROP. This also fixes the problem where
NET_RX_SUCCESS is returned on error
Martin Townsend (2):
Remove dev parameter from skb_delivery_cb in 6lowpan.
Change lowpan_rcv so skb is freed within function and fix return
values.
include/net/6lowpan.h | 4 ++--
net/6lowpan/iphc.c | 37 ++++++++++++++++++------------------
net/bluetooth/6lowpan.c | 21 ++++++++++-----------
net/ieee802154/6lowpan_rtnl.c | 44 +++++++++++++++++++++----------------------
4 files changed, 52 insertions(+), 54 deletions(-)
--
1.9.1
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Linux-zigbee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel