commit | 877d1f6291f8e391237e324be58479a3e3a7407c | [log] [tgz] |
---|---|---|
author | Tom Herbert <tom@herbertland.com> | Tue Jul 28 16:02:05 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 29 22:44:04 2015 -0700 |
tree | 7fef04aed6fab396e8e1205a37fff6ad3a2450ed | |
parent | 7a86d96e4a990aab2fc7b3b97c3bb09f9da0a290 [diff] |
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>