Re: [ovs-dev] [PATCH] bridge: Clean leaking netdevs when route is added.

2018-07-10 Thread Ben Pfaff
On Thu, Jun 21, 2018 at 06:39:16PM +0100, Tiago Lam wrote: > When adding a route to a bridge, by executing "$appctl ovs/route/add > $IP/$MASK $BR", a reference to the existing netdev is taken and stored > in an instantiated ip_dev struct which is then stored in an addr_list > list in tnl-ports.c. W

[ovs-dev] [PATCH] bridge: Clean leaking netdevs when route is added.

2018-06-21 Thread Tiago Lam
When adding a route to a bridge, by executing "$appctl ovs/route/add $IP/$MASK $BR", a reference to the existing netdev is taken and stored in an instantiated ip_dev struct which is then stored in an addr_list list in tnl-ports.c. When OvS is signaled to exit, as a result of a "$appctl $OVS_PID exi