Ver código fonte

[NET]: struct sock_exterr_skb 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 19 anos atrás
pai
commit
b406313c73
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      include/linux/errqueue.h

+ 1 - 1
include/linux/errqueue.h

@@ -38,7 +38,7 @@ struct sock_exterr_skb
 	} header;
 	struct sock_extended_err	ee;
 	u16				addr_offset;
-	u16				port;
+	__be16				port;
 };
 
 #endif