]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip netns: Reset vrf to default VRF on namespace switch
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 15 Dec 2016 20:07:02 +0000 (12:07 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 21 Dec 2016 23:56:39 +0000 (15:56 -0800)
commitee9369a05f5e6e0bcece4556a3e93109d9277071
treeb99df22988e9a8735f763f3fab68cc6e3c6a0d47
parent2917b4f41af5476d2bf913dbbef9128d9fbc6dc8
ip netns: Reset vrf to default VRF on namespace switch

A vrf is local to a namespace. Drop any VRF association before trying
to exec a command in the new namespace.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
ip/ip_common.h
ip/ipnetns.c
ip/ipvrf.c