commit | 6efb4436f7fcc50cc3fb9a113d0f16e3968172b1 | [log] [tgz] |
---|---|---|
author | Magnus Karlsson <magnus.karlsson@intel.com> | Wed Jul 11 10:12:51 2018 +0200 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Jul 13 15:34:31 2018 +0200 |
tree | 79fec6084ce553c60448bb6c72dd7c7a9d2be674 | |
parent | 9684f5e7c8cdf076aeec81344d4893a30f7aa6a1 [diff] |
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>