[ovs-dev] [PATCH 2/3] datapath: backport: geneve: avoid using stale geneve socket.

Joe Stringer joe at ovn.org
Mon Oct 31 21:06:18 UTC 2016


On 29 October 2016 at 21:33, Pravin B Shelar <pshelar at ovn.org> wrote:
> Upstream commit:
>     commit fceb9c3e38252992bbf1a3028cc2f7b871211533
>     Author: pravin shelar <pshelar at ovn.org>
>     Date:   Fri Oct 28 09:59:16 2016 -0700
>
>     geneve: avoid using stale geneve socket.
>
>     This patch is similar to earlier vxlan patch.
>     Geneve device close operation frees geneve socket. This
>     operation can race with geneve-xmit function which
>     dereferences geneve socket. Following patch uses RCU
>     mechanism to avoid this situation.
>
>     Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
>     Acked-by: John W. Linville <linville at tuxdriver.com>
>     Signed-off-by: David S. Miller <davem at davemloft.net>
>
> Signed-off-by: Pravin B Shelar <pshelar at ovn.org>

Acked-by: Joe Stringer <joe at ovn.org>



More information about the dev mailing list