diff options
Diffstat (limited to 'entry/src/kni_tap_rss.cpp')
| -rw-r--r-- | entry/src/kni_tap_rss.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/entry/src/kni_tap_rss.cpp b/entry/src/kni_tap_rss.cpp index 3fa0c0c..180164d 100644 --- a/entry/src/kni_tap_rss.cpp +++ b/entry/src/kni_tap_rss.cpp @@ -146,12 +146,13 @@ int kni_tap_open_per_thread(const char *tap_dev, int tap_flags, int bpf_prog_fd, * The TUNSETPERSIST ioctl can be used to make the TUN/TAP interface persistent. * In this mode, the interface won't be destroyed when the last process closes the associated /dev/net/tun file descriptor. */ + /* if (ioctl(tap_fd, TUNSETPERSIST, 1) == -1) { KNI_LOG_ERROR(logger, TAP_RSS_LOG_TAG "unable to set persist on %s, aborting: %s", tap_dev, strerror(errno)); goto error; } - + */ #if (SUPPORT_BPF) if (bpf_prog_fd > 0) { |
