summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
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 /drivers/net/tun.c
parent84a6a0acad145fb9bc11dcb60f6d064072f0cc1c (diff)
downloadop-kernel-dev-fe47755852d1f299b55a6e6594bb6e082ac103d4.zip
op-kernel-dev-fe47755852d1f299b55a6e6594bb6e082ac103d4.tar.gz
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 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud