summaryrefslogtreecommitdiff
path: root/Documentation/DMA-API-HOWTO.txt
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-10-01 09:03:06 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-10-01 14:38:22 +0300
commit5f509239eccc9d118d3474a22e78b3da1ceefe02 (patch)
treec844c9e2538af12aec5911c6705818d7cac76028 /Documentation/DMA-API-HOWTO.txt
parente98d6d6203552ebd1e80ac17de857547efa37fba (diff)
downloadlinux-5f509239eccc9d118d3474a22e78b3da1ceefe02.tar.xz
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>
Diffstat (limited to 'Documentation/DMA-API-HOWTO.txt')
0 files changed, 0 insertions, 0 deletions