CloudNativeDataPlane / cndp

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

CNET Chnls: deterministic protocol finding #375

Closed jalalmostafa closed 4 months ago

jalalmostafa commented 4 months ago

The initialize_chnl and cnet_protosw in the channel(int, int, int) function can encounter bugs if the input to the channel is wrong. Assume the user input of type arg in channel is equal to 10002 or the value of SOCK_CLOEXEC | SOCK_DGRAM:

The branch also has minor log fixes.