Re: [PATCH] mpls: Send route delete notifications when router module is unloaded

2017-03-12 Thread David Miller
From: David Ahern Date: Fri, 10 Mar 2017 09:46:15 -0800 > When the mpls_router module is unloaded, mpls routes are deleted but > notifications are not sent to userspace leaving userspace caches > out of sync. Add the call to mpls_notify_route in mpls_net_exit as > routes are freed. > > Fixes: 01

[PATCH] mpls: Send route delete notifications when router module is unloaded

2017-03-10 Thread David Ahern
When the mpls_router module is unloaded, mpls routes are deleted but notifications are not sent to userspace leaving userspace caches out of sync. Add the call to mpls_notify_route in mpls_net_exit as routes are freed. Fixes: 0189197f44160 ("mpls: Basic routing support") Signed-off-by: David Ahern