Cloud Native Data Plane (CNDP) is a collection of user space libraries to accelerate packet processing for cloud applications using AF_XDP sockets as the primary I/O..
BSD 3-Clause "New" or "Revised" License
90
stars
32
forks
source link
Punt Kernel: Fix closing sock6 if IPv6 is disabled #368
When IPv6 is disabled, sock6 is set kept to 0. This leads to closing stdin in punt_kernel_node_fini (undesired behavior that can harm CNE-TTY and corrupt the terminal).
When IPv6 is disabled, sock6 is set kept to 0. This leads to closing
stdin
inpunt_kernel_node_fini
(undesired behavior that can harm CNE-TTY and corrupt the terminal).The fix sets sock6 to -1 if IPv6 was disabled.