diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-01-29 16:14:46 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-02-27 11:11:24 +0100 |
| commit | 0268f30e3cab287bb10e84f7663098ed9cbd50c7 (patch) | |
| tree | b8283401dfc5824b08bc56dc7b303524634999fb /zebra/ioctl.c | |
| parent | f62abc7d6577a44a67111b25a70d40170e2790af (diff) | |
zebra: speed ioctl read() with interfaces from various NETNS
When interfaces are located on different NETNS ( different VRF), then a
switch from netns context is necessary when calling setns(). The VRF
apis to switch and switch back are called, so that the ioctl will work
accordingly.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/ioctl.c')
0 files changed, 0 insertions, 0 deletions
