linux-sg2042/net/ieee802154
Martin Townsend 56b2c3eea3 6lowpan: move skb_free from error paths in decompression
Currently we ensure that the skb is freed on every error path in IPHC
decompression which makes it easy to introduce skb leaks.  By centralising
the skb_free into the receive function it makes future decompression routines
easier to maintain.  It does come at the expense of ensuring that the skb
passed into the decompression routine must not be copied.

Signed-off-by: Martin Townsend <mtownsend1973@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2014-11-06 22:09:48 +01:00
..
6lowpan_rtnl.c 6lowpan: move skb_free from error paths in decompression 2014-11-06 22:09:48 +01:00
Kconfig 6lowpan: introduce new net/6lowpan directory 2014-07-12 01:53:30 +02:00
Makefile ieee802154: introduce sysfs file 2014-10-28 23:19:09 +01:00
af802154.h ieee802154: mac802154: remove FSF address 2014-10-25 08:07:30 +02:00
af_ieee802154.c ieee802154: mac802154: remove FSF address 2014-10-25 08:07:30 +02:00
core.c ieee802154: rework wpan_phy index assignment 2014-11-05 21:53:03 +01:00
core.h ieee802154: rework wpan_phy index assignment 2014-11-05 21:53:03 +01:00
dgram.c ieee802154: move ieee802154 header 2014-10-25 21:39:57 +02:00
header_ops.c ieee802154: move ieee802154 header 2014-10-25 21:39:57 +02:00
ieee802154.h ieee802154: mac802154: remove FSF address 2014-10-25 08:07:30 +02:00
netlink.c ieee802154: mac802154: remove FSF address 2014-10-25 08:07:30 +02:00
nl-mac.c ieee802154: remove mlme get_phy callback 2014-11-05 21:53:04 +01:00
nl-phy.c ieee802154: remove mlme get_phy callback 2014-11-05 21:53:04 +01:00
nl_policy.c ieee802154: mac802154: remove FSF address 2014-10-25 08:07:30 +02:00
raw.c ieee802154: mac802154: remove FSF address 2014-10-25 08:07:30 +02:00
rdev-ops.h cfg802154: convert deprecated iface add and del 2014-11-02 04:51:06 +01:00
reassembly.c ieee802154: reassembly: fix tag byteorder 2014-10-25 07:56:22 +02:00
reassembly.h ieee802154: reassembly: fix tag byteorder 2014-10-25 07:56:22 +02:00
sysfs.c ieee802154: sysfs: add missing include 2014-11-02 21:52:02 +01:00
sysfs.h ieee802154: introduce sysfs file 2014-10-28 23:19:09 +01:00