summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-28 05:33:22 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-29 05:02:07 +0400
commitcc939d37349bf82891bd1f4558284d7fafe7acb2 (patch)
tree0abc4445a7cd2077c84dde0d9b28af3f99269cf7
parent2816e1284a2db03ad5e205bab4eacbc5f7d4f991 (diff)
downloadlinux-cc939d37349bf82891bd1f4558284d7fafe7acb2.tar.xz
[NET]: ip ports in struct flowi are net-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/flow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index 97569af9bda7..5700b0ad63c0 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 {