linux/net/xdp
Magnus Karlsson 09210c4bcc xsk: do not return EMSGSIZE in copy mode for packets larger than MTU
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: 35fcde7f8d ("xsk: support for Tx")
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-13 15:34:31 +02:00
..
Kconfig
Makefile
xdp_umem_props.h
xdp_umem.c xsk: silence warning on memory allocation failure 2018-06-11 23:49:07 +02:00
xdp_umem.h
xsk_queue.c
xsk_queue.h xsk: fix potential lost completion message in SKB path 2018-07-02 18:37:11 -07:00
xsk.c xsk: do not return EMSGSIZE in copy mode for packets larger than MTU 2018-07-13 15:34:31 +02:00