mirror of https://gitee.com/openkylin/linux.git
09210c4bcc
This patch stops returning EMSGSIZE from sendmsg in copy mode when the
size of the packet is larger than the MTU. Just send it to the device
so that it will drop it as in zero-copy mode. This makes the error
reporting consistent between copy mode and zero-copy mode.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
xdp_umem.c | ||
xdp_umem.h | ||
xdp_umem_props.h | ||
xsk.c | ||
xsk_queue.c | ||
xsk_queue.h |