Re: [PATCH bluetooth-next 1/3] ieee802154: 6lowpan: change datagram var types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex,

> 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@xxxxxxxxx>
> ---
> net/ieee802154/6lowpan/6lowpan_i.h  | 4 ++--
> net/ieee802154/6lowpan/reassembly.c | 2 +-
> net/ieee802154/6lowpan/tx.c         | 8 ++++----
> 3 files changed, 7 insertions(+), 7 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux