6lowpan: fix type of datagram size parameter
authorAlexander Aring <alex.aring@gmail.com>
Sun, 2 Mar 2014 07:09:33 +0000 (08:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 00:19:44 +0000 (19:19 -0500)
commit4c7f778e566ac5861b2837ee755d8cdcd1ccacc5
tree7f2daba7ff4776ad4e2a18e876a314fe3892bcc0
parent1bc693e18a0b279a8b1d174485750601f3f44d7b
6lowpan: fix type of datagram size parameter

Datagram size value is u16 because we convert it to host byte order
and we need to read it. Only the tag value belongs to __be16 type.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/reassembly.c