diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-31 21:03:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-31 21:03:35 -0400 |
commit | 9b12c75bf4d58dd85c987ee7b6a4356fdc7c1222 (patch) | |
tree | e259375a3d420d7de464f634dac6515946e48d85 /include/net/flow.h | |
parent | fab0dc89f0d98459c6ce7fa27422949ac15837fa (diff) |
net: Order ports in same order as addresses in flow objects.
For consistency.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow.h')
-rw-r--r-- | include/net/flow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index 37e77d66f78c..c6d5fe5ec1bf 100644 --- a/include/net/flow.h +++ b/include/net/flow.h | |||
@@ -26,8 +26,8 @@ struct flowi_common { | |||
26 | 26 | ||
27 | union flowi_uli { | 27 | union flowi_uli { |
28 | struct { | 28 | struct { |
29 | __be16 sport; | ||
30 | __be16 dport; | 29 | __be16 dport; |
30 | __be16 sport; | ||
31 | } ports; | 31 | } ports; |
32 | 32 | ||
33 | struct { | 33 | struct { |
@@ -36,8 +36,8 @@ union flowi_uli { | |||
36 | } icmpt; | 36 | } icmpt; |
37 | 37 | ||
38 | struct { | 38 | struct { |
39 | __le16 sport; | ||
40 | __le16 dport; | 39 | __le16 dport; |
40 | __le16 sport; | ||
41 | } dnports; | 41 | } dnports; |
42 | 42 | ||
43 | __be32 spi; | 43 | __be32 spi; |
@@ -86,8 +86,8 @@ static inline void flowi4_init_output(struct flowi4 *fl4, int oif, | |||
86 | fl4->flowi4_secid = 0; | 86 | fl4->flowi4_secid = 0; |
87 | fl4->daddr = daddr; | 87 | fl4->daddr = daddr; |
88 | fl4->saddr = saddr; | 88 | fl4->saddr = saddr; |
89 | fl4->fl4_sport = sport; | ||
90 | fl4->fl4_dport = dport; | 89 | fl4->fl4_dport = dport; |
90 | fl4->fl4_sport = sport; | ||
91 | } | 91 | } |
92 | 92 | ||
93 | 93 | ||