summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2020-03-03 14:37:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-18 07:17:47 +0100
commit8759b193d8f8a4cfb58e47cc103402e20559d527 (patch)
treeeba2eecc58d0a4d201e52092e70325224dd53395 /.clang-format
parent2eaf298d121fd5f9a2d4c09f17a731bb37a194a7 (diff)
net/ipv6: remove the old peer route if change it to a new one
[ Upstream commit d0098e4c6b83e502cc1cd96d67ca86bc79a6c559 ] When we modify the peer route and changed it to a new one, we should remove the old route first. Before the fix: + ip addr add dev dummy1 2001:db8::1 peer 2001:db8::2 + ip -6 route show dev dummy1 2001:db8::1 proto kernel metric 256 pref medium 2001:db8::2 proto kernel metric 256 pref medium + ip addr change dev dummy1 2001:db8::1 peer 2001:db8::3 + ip -6 route show dev dummy1 2001:db8::1 proto kernel metric 256 pref medium 2001:db8::2 proto kernel metric 256 pref medium After the fix: + ip addr change dev dummy1 2001:db8::1 peer 2001:db8::3 + ip -6 route show dev dummy1 2001:db8::1 proto kernel metric 256 pref medium 2001:db8::3 proto kernel metric 256 pref medium This patch depend on the previous patch "net/ipv6: need update peer route when modify metric" to update new peer route after delete old one. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions