ieee802154: 6lowpan: remove full-size calculation workarounds
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | 6lowpan: allow pull only at lowpan_fetch_skbinclude/ | +3 | 0 replies | |
| 2/7 | ieee802154: 6lowpan: skb_pull with error handlingnet/ | +3 | 0 replies | |
| 3/7 | ieee802154: 6lowpan: use skb_network_headernet/ | +2 | 0 replies | |
| 4/7 | ieee802154: 6lowpan: remove rx full-size calc workaroundnet/ net/ net/ | +30 | 0 replies | |
| 5/7 | ieee802154: 6lowpan: handle fragmented IPv6net/ | +14 | 0 replies | |
| 6/7 | ieee802154: 6lowpan: cleanup frag dispatch casesnet/ | +4 | 0 replies | |
| 7/7 | ieee802154: 6lowpan: remove tx full-size calc workaroundinclude/ net/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bluetooth-next 0/7] ieee802154: 6lowpan: remove full-size calculation workarounds
Hi,
this patch series based on "ieee802154: 6lowpan: separate receive/transmit functionality".
In this patch series I mainly removes the lowpan_uncompress_size function workarounds. Why this is a workaround solution? So this function parse again the 6LoWPAN header for getting the 6LoWPAN header size. We do parsing twice and this is the first ugly thing there. The second thing is that when we add new header compression we need to touch the lowpan_uncompress_size again for adding next header size calculation. This series removes the workaround so we need to parse/create this only once. It was myself which introduce this workaround to have at first something which works. Since Martin Townsend work which put out the lowpan_give_upper_layer outside of the iphc decompression we can handle it now in that way.
This patch also includes some cleanup patches which I detect while programming this one. In futher the 6LoWPAN parsing should look like mac802154 parsing. mac802154 parsing look like mac80211. To rework the 6LoWPAN parsing will be the next steps.
Alexander Aring (7):
6lowpan: allow pull only at lowpan_fetch_skb
ieee802154: 6lowpan: skb_pull with error handling
ieee802154: 6lowpan: use skb_network_header
ieee802154: 6lowpan: remove rx full-size calc workaround
ieee802154: 6lowpan: handle fragmented IPv6
ieee802154: 6lowpan: cleanup frag dispatch cases
ieee802154: 6lowpan: remove tx full-size calc workaround
include/net/6lowpan.h | 117 +----------------------------------- net/ieee802154/6lowpan/6lowpan_i.h | 1 + net/ieee802154/6lowpan/reassembly.c | 31 ++++++++-- net/ieee802154/6lowpan/rx.c | 39 +++++------- net/ieee802154/6lowpan/tx.c | 18 +++--- 5 files changed, 56 insertions(+), 150 deletions(-)
Signature · 1 line
2.2.0