diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2018-07-11 10:12:51 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-13 15:34:31 +0200 |
commit | 6efb4436f7fcc50cc3fb9a113d0f16e3968172b1 (patch) | |
tree | 79fec6084ce553c60448bb6c72dd7c7a9d2be674 /samples | |
parent | xsk: do not return EAGAIN from sendmsg when completion queue is full (diff) | |
download | linux-6efb4436f7fcc50cc3fb9a113d0f16e3968172b1.tar.xz linux-6efb4436f7fcc50cc3fb9a113d0f16e3968172b1.zip |
xsk: always return ENOBUFS from sendmsg if there is no TX queue
This patch makes sure ENOBUFS is always returned from sendmsg if there
is no TX queue configured. This was not the case for zero-copy
mode. With this patch this error reporting is consistent between copy
mode and zero-copy mode.
Fixes: ac98d8aab61b ("xsk: wire upp Tx zero-copy functions")
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions