linux_dsm_epyc7002/net/ieee802154/6lowpan
Alexander Aring 5f509239ec ieee802154: handle datagram variables as u16
This reverts commit 9abc378c66e3d6f437eed77c1c534cbc183523f7
("ieee802154: 6lowpan: change datagram var types").

The reason is that I forgot the IPv6 fragmentation here. Our MTU of
lowpan interface is 1280 and skb->len should not above of that. If we
reach a payload above 1280 in IPv6 header then we have a IPv6
fragmentation above 802.15.4 6LoWPAN fragmentation. The type "u16" was
fine, instead I added now a WARN_ON_ONCE if skb->len is above MTU which
should never happen otherwise IPv6 on minimum MTU size is broken.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-10-01 13:38:22 +02:00
..
6lowpan_i.h ieee802154: handle datagram variables as u16 2015-10-01 13:38:22 +02:00
core.c ieee802154: change needed headroom/tailroom 2015-09-22 11:51:20 +02:00
Kconfig
Makefile ieee802154: 6lowpan: fix Makefile entry 2015-01-08 15:48:06 +01:00
reassembly.c ieee802154: handle datagram variables as u16 2015-10-01 13:38:22 +02:00
rx.c ieee802154: 6lowpan: add tx/rx stats 2015-09-30 13:23:57 +02:00
tx.c ieee802154: handle datagram variables as u16 2015-10-01 13:38:22 +02:00