-
- Downloads
net: Set sk_txhash from a random number
This patch creates sk_set_txhash and eliminates protocol specific inet_set_txhash and ip6_set_txhash. sk_set_txhash simply sets a random number instead of performing flow dissection. sk_set_txash is also allowed to be called multiple times for the same socket, we'll need this when redoing the hash for negative routing advice. Signed-off-by:Tom Herbert <tom@herbertland.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/ip.h 0 additions, 16 deletionsinclude/net/ip.h
- include/net/ipv6.h 0 additions, 19 deletionsinclude/net/ipv6.h
- include/net/sock.h 8 additions, 0 deletionsinclude/net/sock.h
- net/ipv4/datagram.c 1 addition, 1 deletionnet/ipv4/datagram.c
- net/ipv4/tcp_ipv4.c 2 additions, 2 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv6/datagram.c 1 addition, 1 deletionnet/ipv6/datagram.c
- net/ipv6/tcp_ipv6.c 2 additions, 2 deletionsnet/ipv6/tcp_ipv6.c
Loading
Please register or sign in to comment