Commit 9b12c75b authored by David S. Miller's avatar David S. Miller

net: Order ports in same order as addresses in flow objects.

For consistency.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fab0dc89
...@@ -26,8 +26,8 @@ struct flowi_common { ...@@ -26,8 +26,8 @@ struct flowi_common {
union flowi_uli { union flowi_uli {
struct { struct {
__be16 sport;
__be16 dport; __be16 dport;
__be16 sport;
} ports; } ports;
struct { struct {
...@@ -36,8 +36,8 @@ union flowi_uli { ...@@ -36,8 +36,8 @@ union flowi_uli {
} icmpt; } icmpt;
struct { struct {
__le16 sport;
__le16 dport; __le16 dport;
__le16 sport;
} dnports; } dnports;
__be32 spi; __be32 spi;
...@@ -86,8 +86,8 @@ static inline void flowi4_init_output(struct flowi4 *fl4, int oif, ...@@ -86,8 +86,8 @@ static inline void flowi4_init_output(struct flowi4 *fl4, int oif,
fl4->flowi4_secid = 0; fl4->flowi4_secid = 0;
fl4->daddr = daddr; fl4->daddr = daddr;
fl4->saddr = saddr; fl4->saddr = saddr;
fl4->fl4_sport = sport;
fl4->fl4_dport = dport; fl4->fl4_dport = dport;
fl4->fl4_sport = sport;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment