From: Al Viro Date: Thu, 28 Sep 2006 01:33:22 +0000 (-0700) Subject: [NET]: ip ports in struct flowi are net-endian X-Git-Tag: v2.6.19-rc1~858^2~69 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cc939d37349bf82891bd1f4558284d7fafe7acb2;p=linux-2.6-omap-h63xx.git [NET]: ip ports in struct flowi are net-endian Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/net/flow.h b/include/net/flow.h index 97569af9bda..5700b0ad63c 100644 --- a/include/net/flow.h +++ b/include/net/flow.h @@ -56,8 +56,8 @@ struct flowi { #define FLOWI_FLAG_MULTIPATHOLDROUTE 0x01 union { struct { - __u16 sport; - __u16 dport; + __be16 sport; + __be16 dport; } ports; struct {