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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc939d37349bf82891bd1f4558284d7fafe7acb2;p=linux-2.6 [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 97569af9bd..5700b0ad63 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 {