Explorar o código

[IPV4]: struct inet_request_sock annotations

->port is net-endian

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Al Viro %!s(int64=18) %!d(string=hai) anos
pai
achega
e11be94bf6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/net/inet_sock.h

+ 1 - 1
include/net/inet_sock.h

@@ -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,