aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2018-07-11 10:12:49 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-07-13 15:34:31 +0200
commit509d7648135f914a3dd64c17484b33df5dd0a19c (patch)
treed3fdf65b8238012c3bbdf987856d9236bff2a4d5 /samples
parentbpf: don't leave partial mangled prog in jit_subprogs error path (diff)
downloadlinux-dev-509d7648135f914a3dd64c17484b33df5dd0a19c.tar.xz
linux-dev-509d7648135f914a3dd64c17484b33df5dd0a19c.zip
xsk: do not return ENXIO from TX copy mode
This patch removes the ENXIO return code from TX copy-mode when someone has forcefully changed the number of queues on the device so that the queue bound to the socket is no longer available. Just silently stop sending anything as in zero-copy mode so the error reporting gets consistent between the two modes. Fixes: 35fcde7f8deb ("xsk: support for Tx") 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