mirror of
https://github.com/torvalds/linux.git
synced 2024-10-23 13:40:56 +00:00
51263fffad
This patch fix the 6LoWPAN fragmentation for the case if we have exactly
two fragments. The problem is that the (skb_unprocessed >= frag_cap)
condition is always false on the second fragment after sending the first
fragment. A fragmentation with only one fragment doesn't make any sense.
The solution is that we use a do while loop here, that ensures we sending
always a minimum of two fragments if we need a fragmentation.
This issue was introduced by commit
|
||
---|---|---|
.. | ||
6lowpan_iphc.c | ||
6lowpan_rtnl.c | ||
af_ieee802154.c | ||
af802154.h | ||
dgram.c | ||
header_ops.c | ||
ieee802154.h | ||
Kconfig | ||
Makefile | ||
netlink.c | ||
nl_policy.c | ||
nl-mac.c | ||
nl-phy.c | ||
raw.c | ||
reassembly.c | ||
reassembly.h | ||
wpan-class.c |