summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2013-12-22 18:54:31 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-31 13:31:34 -0500
commitfe47755852d1f299b55a6e6594bb6e082ac103d4 (patch)
treec7b7afa5b89a92f602ec9d278d4d8d78a84039c1 /crypto
parent84a6a0acad145fb9bc11dcb60f6d064072f0cc1c (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