[IPV4]: struct inet_request_sock annotations
Al Viro [Thu, 28 Sep 2006 01:35:29 +0000 (18:35 -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,