diff options
author | Tony Cheneau <tony.cheneau@amnesiak.org> | 2012-07-11 08:51:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 07:52:02 +0200 |
commit | 5e96855fc505082389813afcf796d4c46301d4fe (patch) | |
tree | 8f92e75d5336d2b64a2359f50154c0752fb60fd3 /net/sched | |
parent | 6lowpan: Change byte order when storing/accessing u16 tag (diff) | |
download | linux-5e96855fc505082389813afcf796d4c46301d4fe.tar.xz linux-5e96855fc505082389813afcf796d4c46301d4fe.zip |
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 'net/sched')
0 files changed, 0 insertions, 0 deletions