diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2017-03-10 17:46:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-22 11:43:34 (GMT) |
commit | b61206e253020adbfde31f662ec7b5ea8b54935f (patch) | |
tree | ae8292b62fe8ef6c6c031cf7f2522ae29b2e29a2 /net/packet | |
parent | 47c8dc47c0080c86c9aba36f58f6fb4a7bf84c0c (diff) | |
download | linux-b61206e253020adbfde31f662ec7b5ea8b54935f.tar.xz |
mpls: Send route delete notifications when router module is unloaded
[ Upstream commit e37791ec1ad785b59022ae211f63a16189bacebf ]
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 <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions