mirror of https://gitee.com/openkylin/linux.git
56b2c3eea3
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> |
||
---|---|---|
.. | ||
6lowpan_rtnl.c | ||
Kconfig | ||
Makefile | ||
af802154.h | ||
af_ieee802154.c | ||
core.c | ||
core.h | ||
dgram.c | ||
header_ops.c | ||
ieee802154.h | ||
netlink.c | ||
nl-mac.c | ||
nl-phy.c | ||
nl_policy.c | ||
raw.c | ||
rdev-ops.h | ||
reassembly.c | ||
reassembly.h | ||
sysfs.c | ||
sysfs.h |