diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-28 01:33:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-29 01:02:07 (GMT) |
commit | cc939d37349bf82891bd1f4558284d7fafe7acb2 (patch) | |
tree | 0abc4445a7cd2077c84dde0d9b28af3f99269cf7 | |
parent | 2816e1284a2db03ad5e205bab4eacbc5f7d4f991 (diff) | |
download | linux-fsl-qoriq-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index 97569af..5700b0a 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 { |