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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cc939d37349bf82891bd1f4558284d7fafe7acb2;p=mv-sheeva.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 {