[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130904.144243.2243750034713846459.davem@davemloft.net>
Date: Wed, 04 Sep 2013 14:42:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: pshelar@...ira.com
Cc: netdev@...r.kernel.org, stephen@...workplumber.org
Subject: Re: [PATCH net-next] vxlan: Optimize vxlan rcv
From: Pravin B Shelar <pshelar@...ira.com>
Date: Tue, 3 Sep 2013 09:44:44 -0700
> 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@...ira.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists