Searched refs:root_netns_fd (Results 1 – 1 of 1) sorted by relevance
33 static int root_netns_fd = -1; variable37 ASSERT_OK(setns(root_netns_fd, CLONE_NEWNET), "restore_root_netns"); in restore_root_netns()644 root_netns_fd = open("/proc/self/ns/net", O_RDONLY); in serial_test_xdp_bonding()645 if (!ASSERT_GE(root_netns_fd, 0, "open /proc/self/ns/net")) in serial_test_xdp_bonding()689 if (root_netns_fd >= 0) in serial_test_xdp_bonding()690 close(root_netns_fd); in serial_test_xdp_bonding()