All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] linux-wpan-next: lowpan_rcv - skb is freed within function and fix return values.
@ 2014-07-30 14:55 Martin Townsend
  2014-07-30 14:55 ` [PATCH 1/2] Remove dev parameter from skb_delivery_cb in 6lowpan Martin Townsend
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Martin Townsend @ 2014-07-30 14:55 UTC (permalink / raw)
  To: linux-zigbee-devel, linux-bluetooth; +Cc: Martin Townsend

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-07-31 15:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 14:55 [PATCH 0/2] linux-wpan-next: lowpan_rcv - skb is freed within function and fix return values Martin Townsend
2014-07-30 14:55 ` [PATCH 1/2] Remove dev parameter from skb_delivery_cb in 6lowpan Martin Townsend
2014-07-30 14:55 ` [PATCH 2/2] Change lowpan_rcv so skb is freed within function and fix return values Martin Townsend
2014-07-30 17:42 ` [PATCH 0/2] linux-wpan-next: lowpan_rcv - " Marcel Holtmann
2014-07-30 18:27   ` Alexander Aring
2014-07-30 18:27     ` Alexander Aring
2014-07-30 18:32     ` Marcel Holtmann
2014-07-30 18:32       ` Marcel Holtmann
2014-07-31 13:59       ` John W. Linville
2014-07-31 14:07         ` Alexander Aring
2014-07-31 14:07           ` Alexander Aring
2014-07-31 15:14         ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.