mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 21:23:23 +00:00
[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>
This commit is contained in:
parent
2816e1284a
commit
cc939d3734
@ -56,8 +56,8 @@ struct flowi {
|
||||
#define FLOWI_FLAG_MULTIPATHOLDROUTE 0x01
|
||||
union {
|
||||
struct {
|
||||
__u16 sport;
|
||||
__u16 dport;
|
||||
__be16 sport;
|
||||
__be16 dport;
|
||||
} ports;
|
||||
|
||||
struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user