[PATCH 0/2] linux-wpan-next: lowpan_rcv - skb is freed within function and fix return values.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux