projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2816e12
)
[NET]: ip ports in struct flowi are net-endian
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:33:22 +0000
(18:33 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:07 +0000
(18:02 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 97569af9bda7213efad5a388b2b9587375eff3b1..5700b0ad63c04a63ad701e5cc7ea69985b6b6605 100644
(file)
--- 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 {