]> err.no Git - linux-2.6/commitdiff
[IPV4]: struct inet_request_sock annotations
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:35:29 +0000 (18:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:12 +0000 (18:02 -0700)
->port is net-endian

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_sock.h

index 7a1f69f012695f63aec66d24dc8b4f6ce08da8d9..a448bb226bb3e294346fdb11e6b5bbfdad979d99 100644 (file)
@@ -64,7 +64,7 @@ struct inet_request_sock {
 #endif
        __be32                  loc_addr;
        __be32                  rmt_addr;
-       u16                     rmt_port;
+       __be16                  rmt_port;
        u16                     snd_wscale : 4, 
                                rcv_wscale : 4, 
                                tstamp_ok  : 1,