diff options
author | Tom Herbert <therbert@google.com> | 2013-12-22 18:54:31 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-31 13:31:34 -0500 |
commit | fe47755852d1f299b55a6e6594bb6e082ac103d4 (patch) | |
tree | c7b7afa5b89a92f602ec9d278d4d8d78a84039c1 /crypto | |
parent | 84a6a0acad145fb9bc11dcb60f6d064072f0cc1c (diff) |
net: Allow setting sock flow hash without a sock
This patch adds sock_rps_record_flow_hash and sock_rps_reset_flow_hash
which take a hash value as an argument and sets the sock_flow_table
accordingly. This allows the table to be populated in cases where flow
is being tracked outside of a sock structure.
sock_rps_record_flow and sock_rps_reset_flow call this function
where the hash is taken from sk_rxhash.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions