From: Tom Herbert Date: Sun, 22 Dec 2013 10:54:31 +0000 (+0800) Subject: net: Allow setting sock flow hash without a sock X-Git-Tag: v3.14-rc1~94^2~357^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe47755852d1f299b55a6e6594bb6e082ac103d4;p=pandora-kernel.git 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 Signed-off-by: Zhi Yong Wu Signed-off-by: David S. Miller --- Reading git-diff-tree failed