]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: 6lowpan: ensure of sending 1280 packets
authorAlexander Aring <alex.aring@gmail.com>
Tue, 19 Aug 2014 17:03:31 +0000 (19:03 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 19 Aug 2014 17:17:41 +0000 (19:17 +0200)
commitedb04f40d96f39010f65ce79a656463e76cebf78
tree3efa7d3f0173a9164039182a582b88cf6786d458
parent207beaa4cee6d5b703ede7b6e019e21eb4f1e3cf
ieee802154: 6lowpan: ensure of sending 1280 packets

This patch changes the 1281 MTU to 1280. Others stack have only a 1280
byte array for uncompressed 6LoWPAN packets, this avoid that these
stacks have an overflow. Sending 1281 uncompressed 6LoWPAN packets isn't
also rfc complaint.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan_rtnl.c