From: Hannes Frederic Sowa
Date: Fri, 8 Apr 2016 22:55:01 +0200
> Due to the fact that the udp socket is destructed asynchronously in a
> work queue, we have some nondeterministic behavior during shutdown of
> vxlan tunnels and creating new ones. Fix this by keeping the destruction
> process syn
On 15.04.2016 22:36, David Miller wrote:
From: Hannes Frederic Sowa
Date: Fri, 8 Apr 2016 22:55:01 +0200
@@ -1053,7 +1052,9 @@ static void __vxlan_sock_release(struct vxlan_sock *vs)
vxlan_notify_del_rx_port(vs);
spin_unlock(&vn->sock_lock);
- queue_work(vxlan_wq, &vs->
Em 15-04-2016 17:58, Stephen Hemminger escreveu:
On Sat, 09 Apr 2016 01:55:06 +0200
Hannes Frederic Sowa wrote:
On Sat, Apr 9, 2016, at 01:24, Cong Wang wrote:
On Fri, Apr 8, 2016 at 1:55 PM, Hannes Frederic Sowa
wrote:
Due to the fact that the udp socket is destructed asynchronously in a
On Sat, 09 Apr 2016 01:55:06 +0200
Hannes Frederic Sowa wrote:
>
>
> On Sat, Apr 9, 2016, at 01:24, Cong Wang wrote:
> > On Fri, Apr 8, 2016 at 1:55 PM, Hannes Frederic Sowa
> > wrote:
> > > Due to the fact that the udp socket is destructed asynchronously in a
> > > work queue, we have some no
From: Hannes Frederic Sowa
Date: Fri, 8 Apr 2016 22:55:01 +0200
> @@ -1053,7 +1052,9 @@ static void __vxlan_sock_release(struct vxlan_sock *vs)
> vxlan_notify_del_rx_port(vs);
> spin_unlock(&vn->sock_lock);
>
> - queue_work(vxlan_wq, &vs->del_work);
> + synchronize_net();
>
On Sat, Apr 9, 2016, at 01:24, Cong Wang wrote:
> On Fri, Apr 8, 2016 at 1:55 PM, Hannes Frederic Sowa
> wrote:
> > Due to the fact that the udp socket is destructed asynchronously in a
> > work queue, we have some nondeterministic behavior during shutdown of
> > vxlan tunnels and creating new o
On Fri, Apr 8, 2016 at 1:55 PM, Hannes Frederic Sowa
wrote:
> Due to the fact that the udp socket is destructed asynchronously in a
> work queue, we have some nondeterministic behavior during shutdown of
> vxlan tunnels and creating new ones. Fix this by keeping the destruction
> process synchrono
Due to the fact that the udp socket is destructed asynchronously in a
work queue, we have some nondeterministic behavior during shutdown of
vxlan tunnels and creating new ones. Fix this by keeping the destruction
process synchronous in regards to the user space process so IFF_UP can
be reliably set