diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-09-30 10:20:09 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-09-30 13:23:57 +0200 |
commit | 72d53b116264d5e570f610b3971dae4721aa5c0f (patch) | |
tree | 827f46282aae1be8cab5f4d13ed606ed3934fef6 /REPORTING-BUGS | |
parent | mac802154: check on len instead mac_len (diff) | |
download | linux-72d53b116264d5e570f610b3971dae4721aa5c0f.tar.xz linux-72d53b116264d5e570f610b3971dae4721aa5c0f.zip |
ieee802154: 6lowpan: change datagram var types
This patch changes datagram size variable from u16 type to unsigned int.
The reason is that an IPv6 header has an MAX_UIN16 payload length, but
the datagram size is payload + IPv6 header length. This avoids overflows
at some places.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions