From: Pravin B Shelar Date: Tue, 3 Sep 2013 16:44:44 +0000 (-0700) Subject: vxlan: Optimize vxlan rcv X-Git-Tag: v3.12-rc1~132^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=430eda6d6d568eded71dfd1be5a16c0c1379e201;p=pandora-kernel.git vxlan: Optimize vxlan rcv vxlan-udp-recv function lookup vxlan_sock struct on every packet recv by using udp-port number. we can use sk->sk_user_data to store vxlan_sock and avoid lookup. I have open coded rcu-api to store and read vxlan_sock from sk_user_data to avoid sparse warning as sk_user_data is not __rcu pointer. Signed-off-by: Pravin B Shelar Signed-off-by: David S. Miller --- Reading git-diff-tree failed