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)
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>

No differences found