projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab0dc8
)
net: Order ports in same order as addresses in flow objects.
author
David S. Miller
<davem@davemloft.net>
Fri, 1 Apr 2011 01:03:35 +0000
(18:03 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Apr 2011 01:03:35 +0000
(18:03 -0700)
For consistency.
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/flow.h
b/include/net/flow.h
index 37e77d66f78c8aaf0c2215496321c408c50cb352..c6d5fe5ec1bf4d788155e85b73d47e0e662dcf27 100644
(file)
--- a/
include/net/flow.h
+++ b/
include/net/flow.h
@@
-26,8
+26,8
@@
struct flowi_common {
union flowi_uli {
struct {
- __be16 sport;
__be16 dport;
+ __be16 sport;
} ports;
struct {
@@
-36,8
+36,8
@@
union flowi_uli {
} icmpt;
struct {
- __le16 sport;
__le16 dport;
+ __le16 sport;
} dnports;
__be32 spi;
@@
-86,8
+86,8
@@
static inline void flowi4_init_output(struct flowi4 *fl4, int oif,
fl4->flowi4_secid = 0;
fl4->daddr = daddr;
fl4->saddr = saddr;
- fl4->fl4_sport = sport;
fl4->fl4_dport = dport;
+ fl4->fl4_sport = sport;
}