]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NET]: ip ports in struct flowi are net-endian
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:33:22 +0000 (18:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:07 +0000 (18:02 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow.h

index 97569af9bda7213efad5a388b2b9587375eff3b1..5700b0ad63c04a63ad701e5cc7ea69985b6b6605 100644 (file)
@@ -56,8 +56,8 @@ struct flowi {
 #define FLOWI_FLAG_MULTIPATHOLDROUTE 0x01
        union {
                struct {
-                       __u16   sport;
-                       __u16   dport;
+                       __be16  sport;
+                       __be16  dport;
                } ports;
 
                struct {