]> err.no Git - linux-2.6/commitdiff
[NET]: struct sock_exterr_skb annotations
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:34:02 +0000 (18:34 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:08 +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/linux/errqueue.h

index 408118a07763fecc3718d8dcc6569857d3aa52e4..92f8d4fab32be96bd86e29612b78c6a8cb1b952b 100644 (file)
@@ -38,7 +38,7 @@ struct sock_exterr_skb
        } header;
        struct sock_extended_err        ee;
        u16                             addr_offset;
-       u16                             port;
+       __be16                          port;
 };
 
 #endif