Re: [PATCH net] net: ipv4: Fix memory leak in network namespace dismantle

2019-01-15 Thread David Miller
From: Ido Schimmel Date: Wed, 9 Jan 2019 09:57:39 + > IPv4 routing tables are flushed in two cases: > > 1. In response to events in the netdev and inetaddr notification chains > 2. When a network namespace is being dismantled > > In both cases only routes associated with a dead nexthop grou

Re: [PATCH net] net: ipv4: Fix memory leak in network namespace dismantle

2019-01-09 Thread David Ahern
On 1/9/19 2:57 AM, Ido Schimmel wrote: > IPv4 routing tables are flushed in two cases: > > 1. In response to events in the netdev and inetaddr notification chains > 2. When a network namespace is being dismantled > > In both cases only routes associated with a dead nexthop group are > flushed. Ho

[PATCH net] net: ipv4: Fix memory leak in network namespace dismantle

2019-01-09 Thread Ido Schimmel
IPv4 routing tables are flushed in two cases: 1. In response to events in the netdev and inetaddr notification chains 2. When a network namespace is being dismantled In both cases only routes associated with a dead nexthop group are flushed. However, a nexthop group will only be marked as dead in