[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 7a1f69f..a448bb2 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,