diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-09-03 18:44:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 20:41:55 +0200 |
commit | 430eda6d6d568eded71dfd1be5a16c0c1379e201 (patch) | |
tree | 70d298414943feba8822064ef91638d4f397a742 /include/scsi/scsi.h | |
parent | atm: he: print MAC via %pM (diff) | |
download | linux-430eda6d6d568eded71dfd1be5a16c0c1379e201.tar.xz linux-430eda6d6d568eded71dfd1be5a16c0c1379e201.zip |
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 <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions