This series aims to cleanup the lowpan receive path and fix a few issues.
RFC compliancy by supported fragmented uncompressed IPv6 headers
Fix incorrect return values in lowpan_rcv
To achieve this it also refactors the receive path to
1) free skb only from lowpan_rcv and not functions that it ca
This series aims to cleanup the lowpan receive path and fix a few issues.
RFC compliancy by supported fragmented uncompressed IPv6 headers
Fix incorrect return values in lowpan_rcv
To achieve this it also refactors the receive path to
1) free skb only from lowpan_rcv and not functions that it ca
Passing the skb from 6lowpan up to the higher layers is not a
function of IPHC. By moving it out of IPHC we also remove the
need to support error code returns with NET_RX codes.
It also makes the lowpan_rcv function more extendable as we
can support more compression schemes.
Signed-off-by: Martin
Currently there are a number of error paths in the lowpan_rcv function that
free the skb before returning, this patch simplifies the receive path by
ensuring that the skb is only freed from this function.
Signed-off-by: Martin Townsend
---
include/net/6lowpan.h | 2 +-
net/6lowpan/iphc.
Currently we support uncompressed IPv6 headers after performing fragmentation.
Signed-off-by: Martin Townsend
---
include/net/6lowpan.h | 17
net/ieee802154/6lowpan_rtnl.c | 63 +++
2 files changed, 51 insertions(+), 29 deletions(-)
d