]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: consider checksum bytes in fragmentation threshold
authorAlan Ott <alan@signal11.us>
Thu, 29 Nov 2012 15:55:44 +0000 (15:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2012 17:19:24 +0000 (12:19 -0500)
commit4a3c2266ca7680820d72e4afb5f4ef63501afdde
tree142069aef7a65d4844da5684789eac8a72f2736e
parentaebcedb8c595954771d22c2afd1e550f76b8245b
6lowpan: consider checksum bytes in fragmentation threshold

Change the threshold for framentation of a lowpan packet from
using the MTU size to now use the MTU size minus the checksum length,
which is added by the hardware. For IEEE 802.15.4, this effectively
changes it from 127 bytes to 125 bytes.

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c