summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-06-02 15:21:58 +0400
committerDavid S. Miller <davem@davemloft.net>2014-06-02 21:39:42 +0400
commiteb06481d69c60f6f9318e935053dce13fe3e8951 (patch)
treee4ac32d38c2a2167a838e62b2bbe75e48d510753 /include/linux
parent51263fffadee28c99152fb78a2d41e3d10c9b0b5 (diff)
downloadlinux-eb06481d69c60f6f9318e935053dce13fe3e8951.tar.xz
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 d4b2816d67d6e07b2f27037f282d8db03a5829d7 ("6lowpan: fix fragmentation"). Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions