2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/net/ieee802154
Alexander Aring eb06481d69 6lowpan_rtnl: fix off by one while fragmentation
This patch fix a off by one error while fragmentation. If the frag_cap
value is equal to skb_unprocessed value we need to stop the
fragmentation loop because the last fragment which has a size of
skb_unprocessed fits into the frag capability size.

This issue was introduced by commit d4b2816d67
("6lowpan: fix fragmentation").

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-02 10:39:42 -07:00
..
6lowpan_iphc.c 6lowpan: move 6lowpan header to include/net 2014-03-06 17:21:38 -05:00
6lowpan_rtnl.c 6lowpan_rtnl: fix off by one while fragmentation 2014-06-02 10:39:42 -07:00
af802154.h mac802154: use header operations to create/parse headers 2014-03-14 22:15:26 -04:00
af_ieee802154.c af_ieee802154: fix check on broadcast address 2014-03-20 17:19:45 -04:00
dgram.c ieee802154: add dgram sockopts for security control 2014-05-16 17:23:41 -04:00
header_ops.c ieee802154: add definitions for link-layer security and header functions 2014-05-15 15:51:42 -04:00
ieee802154.h ieee802154: add netlink interfaces for llsec 2014-05-16 17:23:41 -04:00
Kconfig ieee802154: fix whitespace issues in Kconfig 2014-03-04 20:12:44 -05:00
Makefile ieee802154: add header structs with endiannes and operations 2014-03-14 22:15:26 -04:00
netlink.c ieee802154: add netlink interfaces for llsec 2014-05-16 17:23:41 -04:00
nl_policy.c ieee802154: add netlink interfaces for llsec 2014-05-16 17:23:41 -04:00
nl-mac.c ieee802154: missing put_dev() on error 2014-05-22 15:54:45 -04:00
nl-phy.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
raw.c ieee802154: properly unshare skbs in ieee802154 *_rcv functions 2014-03-18 15:59:25 -04:00
reassembly.c 6lowpan: make lowpan_cb static 2014-04-20 18:18:55 -04:00
reassembly.h ieee802154: use ieee802154_addr instead of *_sa variants 2014-03-14 22:15:26 -04:00
wpan-class.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00