All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2 0/4] ip vrf fixups
@ 2016-12-15 20:06 David Ahern
  2016-12-15 20:06 ` [PATCH iproute2 1/4] ip vrf: Move kernel config hint to prog_load failure David Ahern
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: David Ahern @ 2016-12-15 20:06 UTC (permalink / raw)
  To: netdev, stephen; +Cc: David Ahern

Some minor cleanups to the 'ip vrf' command.

Patch 1 moves the CGROUP_BPF hint to the failure of prog_load since it
fails first.

Patch 2 refactors ipvrf_identify. The action part is moved to a function
that can be used standalone and in the process flipped to fopen/fgets for
robustness should the cgroups file grow larger than 4k.

Patch 3 fixes the path switching to "default" VRF.

Patch 4 moves a task to default VRF when switching namespaces.

David Ahern (4):
  ip vrf: Move kernel config hint to prog_load failure
  ip vrf: Refactor ipvrf_identify
  ip vrf: Fix reset to default VRF
  ip netns: Reset vrf to default VRF on namespace switch

 ip/ip_common.h |   1 +
 ip/ipnetns.c   |   5 +++
 ip/ipvrf.c     | 103 +++++++++++++++++++++++++++++++++++----------------------
 3 files changed, 69 insertions(+), 40 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-22  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-15 20:06 [PATCH iproute2 0/4] ip vrf fixups David Ahern
2016-12-15 20:06 ` [PATCH iproute2 1/4] ip vrf: Move kernel config hint to prog_load failure David Ahern
2016-12-15 20:07 ` [PATCH iproute2 2/4] ip vrf: Refactor ipvrf_identify David Ahern
2016-12-15 20:07 ` [PATCH iproute2 3/4] ip vrf: Fix reset to default VRF David Ahern
2016-12-15 20:07 ` [PATCH iproute2 4/4] ip netns: Reset vrf to default VRF on namespace switch David Ahern
2016-12-22  0:09 ` [PATCH iproute2 0/4] ip vrf fixups Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.