diff options
author | Tony Cheneau <tony.cheneau@amnesiak.org> | 2012-07-11 06:51:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-16 22:52:02 -0700 |
commit | 5e96855fc505082389813afcf796d4c46301d4fe (patch) | |
tree | 8f92e75d5336d2b64a2359f50154c0752fb60fd3 /drivers/net/hyperv/rndis_filter.c | |
parent | 4576039ffc04ffe672081159a11cf6e0b875a069 (diff) | |
download | op-kernel-dev-5e96855fc505082389813afcf796d4c46301d4fe.zip op-kernel-dev-5e96855fc505082389813afcf796d4c46301d4fe.tar.gz |
6lowpan: Change byte order when storing/accessing to len field
Lenght field should be encoded using big endian byte order, such as intend in the specs.
As it is currently written, the len field would not be decoded properly on an implementation using the correct byte ordering. Hence, it could lead to interroperability issues.
Also, I rewrote the code so that iphc0 argument of lowpan_alloc_new_frame could be removed.
Signed-off-by: Tony Cheneau <tony.cheneau@amnesiak.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/rndis_filter.c')
0 files changed, 0 insertions, 0 deletions