commit | 72d53b116264d5e570f610b3971dae4721aa5c0f | [log] [tgz] |
---|---|---|
author | Alexander Aring <alex.aring@gmail.com> | Wed Sep 30 10:20:09 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Sep 30 13:23:57 2015 +0200 |
tree | 827f46282aae1be8cab5f4d13ed606ed3934fef6 | |
parent | 5f2ebb3b59c81a461ffd4921d12e9f6e09c32945 [diff] |
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>