diff options
| author | Justin Iurman <[email protected]> | 2021-01-21 22:00:44 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-25 23:14:16 +0000 |
| commit | 07d46d93c9acdfe0614071d73c415dd5f745cc6e (patch) | |
| tree | 13516a743376a87af24877bb3d08c85408178453 /net/lapb/lapb_timer.c | |
| parent | tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN (diff) | |
| download | kernel-07d46d93c9acdfe0614071d73c415dd5f745cc6e.tar.gz kernel-07d46d93c9acdfe0614071d73c415dd5f745cc6e.zip | |
uapi: fix big endian definition of ipv6_rpl_sr_hdr
Following RFC 6554 [1], the current order of fields is wrong for big
endian definition. Indeed, here is how the header looks like:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Next Header | Hdr Ext Len | Routing Type | Segments Left |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| CmprI | CmprE | Pad | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
This patch reorders fields so that big endian definition is now correct.
[1] https://tools.ietf.org/html/rfc6554#section-3
Fixes: cfa933d938d8 ("include: uapi: linux: add rpl sr header definition")
Signed-off-by: Justin Iurman <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
