summaryrefslogtreecommitdiff
path: root/lib/test_uuid.c
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@nvidia.com>2021-11-29 09:15:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-08 11:04:47 +0300
commit519ed0ab5f8b14eee1672959a65ef1d89db88c6e (patch)
tree9f088f1d4a13f544a302711522496974e210ba48 /lib/test_uuid.c
parentc5ef33c1489b2cd74368057fa00b5d2183bb5853 (diff)
downloadlinux-519ed0ab5f8b14eee1672959a65ef1d89db88c6e.tar.xz
net: mpls: Fix notifications when deleting a device
commit 7d4741eacdefa5f0475431645b56baf00784df1f upstream. There are various problems related to netlink notifications for mpls route changes in response to interfaces being deleted: * delete interface of only nexthop DELROUTE notification is missing RTA_OIF attribute * delete interface of non-last nexthop NEWROUTE notification is missing entirely * delete interface of last nexthop DELROUTE notification is missing nexthop All of these problems stem from the fact that existing routes are modified in-place before sending a notification. Restructure mpls_ifdown() to avoid changing the route in the DELROUTE cases and to create a copy in the NEWROUTE case. Fixes: f8efb73c97e2 ("mpls: multipath route support") Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_uuid.c')
0 files changed, 0 insertions, 0 deletions