Hi Martin, > 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@xxxxxxxxx> > --- > net/6lowpan/iphc.c | 31 ++++++++++++------------------- > net/bluetooth/6lowpan.c | 15 +++++++-------- > net/ieee802154/6lowpan_rtnl.c | 16 ++++++---------- > 3 files changed, 25 insertions(+), 37 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- 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