git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51263ff
)
6lowpan_rtnl: fix off by one while fragmentation
author
Alexander Aring
<alex.aring@gmail.com>
Mon, 2 Jun 2014 11:21:58 +0000
(13:21 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 2 Jun 2014 17:39:42 +0000
(10:39 -0700)
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>
net/ieee802154/6lowpan_rtnl.c
patch
|
blob
|
history
diff --cc
net/ieee802154/6lowpan_rtnl.c
Simple merge