diff options
author | 2015-02-24 09:17:31 -0800 | |
---|---|---|
committer | 2015-02-27 16:00:01 -0500 | |
commit | 723b8e460d87e957f251dc5764f4ab86af6ab44e (patch) | |
tree | 2453607eb05e7cdf3913fedfe55599641c6a66b1 /net/unix/af_unix.c | |
parent | bridge: fix link notification skb size calculation to include vlan ranges (diff) | |
download | wireguard-linux-723b8e460d87e957f251dc5764f4ab86af6ab44e.tar.xz wireguard-linux-723b8e460d87e957f251dc5764f4ab86af6ab44e.zip |
udp: In udp_flow_src_port use random hash value if skb_get_hash fails
In the unlikely event that skb_get_hash is unable to deduce a hash
in udp_flow_src_port we use a consistent random value instead.
This is specified in GRE/UDP draft section 3.2.1:
https://tools.ietf.org/html/draft-ietf-tsvwg-gre-in-udp-encap-04
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions