numam-spdk/module/sock
Shuhei Matsumoto 2c32ca4ceb sock: Fix SPDK_ZEROCOPY do not work for IPV6
For IPV6, cm->cmsg_level is SOL_IPV6 and cm->cmsg_type is
IPV6_RECVERR. However these combination was not included.

To clarify the fix check if positive conditions are satisfied and
then reverse the result.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I675f4337f383d3526fed1b86794697f41113ed4c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10428
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2021-11-30 09:09:03 +00:00
..
posix sock: Fix SPDK_ZEROCOPY do not work for IPV6 2021-11-30 09:09:03 +00:00
uring sock: Fix SPDK_ZEROCOPY do not work for IPV6 2021-11-30 09:09:03 +00:00
Makefile sock/vpp: remove VPP implementation 2020-08-17 08:19:46 +00:00
sock_kernel.h uring: Not enable zero copy if fd is opened on a loopback device. 2021-08-13 07:14:38 +00:00