[NET]: ip ports in struct flowi are net-endian
authorAl Viro <[email protected]>
Thu, 28 Sep 2006 01:33:22 +0000 (18:33 -0700)
committerDavid S. Miller <[email protected]>
Fri, 29 Sep 2006 01:02:07 +0000 (18:02 -0700)
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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 {