diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-24 23:04:18 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-08-26 18:35:42 -0700 |
commit | f424bb9efaee90b752aabcb4e5e95920ee9580bb (patch) | |
tree | 3d33a47bc33d8456f26f2cfca89b28edc59726c8 /include | |
parent | e4223976341ffb22fabe5b3a69873966808c83aa (diff) | |
download | talos-op-linux-f424bb9efaee90b752aabcb4e5e95920ee9580bb.tar.gz talos-op-linux-f424bb9efaee90b752aabcb4e5e95920ee9580bb.zip |
[PPPOL2TP]: Fix endianness annotations.
{s,d}_{session,tunnel} in pppol2tp_addr are actually host-endian
everywhere. We might switch them to net-endian, of course, but
that structure is exposed to userland via getname...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/if_pppol2tp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/if_pppol2tp.h b/include/linux/if_pppol2tp.h index 516203b6fdeb..a7d6a2234b31 100644 --- a/include/linux/if_pppol2tp.h +++ b/include/linux/if_pppol2tp.h @@ -32,8 +32,8 @@ struct pppol2tp_addr struct sockaddr_in addr; /* IP address and port to send to */ - __be16 s_tunnel, s_session; /* For matching incoming packets */ - __be16 d_tunnel, d_session; /* For sending outgoing packets */ + __u16 s_tunnel, s_session; /* For matching incoming packets */ + __u16 d_tunnel, d_session; /* For sending outgoing packets */ }; /* Socket options: |