summaryrefslogtreecommitdiff
path: root/lib/stream.c
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2015-09-03 10:47:43 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-09 12:15:14 -0400
commitc253dcb5d80aa60112bb31ab95ae9839081064d3 (patch)
tree3b2e993379f5b46394476897e2997fb76eae8159 /lib/stream.c
parent13460c44a22415dd55846aca6fc31cf8607c90e9 (diff)
vrf: add a runtime check before playing with netns
This patch adds a runtime check to determine if netns are available. Some systems like OpenWRT have the system call setns() but don't have the kernel option CONFIG_NET_NS enabled. Reported-by: Christian Franke <chris@opensourcerouting.org> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Tested-by: Christian Franke <chris@opensourcerouting.org> (cherry picked from commit 04a3aabf58d95d01c4c8168eeff43cf9d9892eee)
Diffstat (limited to 'lib/stream.c')
0 files changed, 0 insertions, 0 deletions