summaryrefslogtreecommitdiff
path: root/net/xdp/xsk_queue.h
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2018-05-22 10:34:58 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-22 11:25:06 +0300
commit2e59dd5e4f6e884d1f7a70acf9845d223429026e (patch)
treefaf2820390b4291d5c10f8a3d2d54d6f24261a38 /net/xdp/xsk_queue.h
parentad75646c68a6e344a3609f40825855a0e742d04d (diff)
downloadlinux-2e59dd5e4f6e884d1f7a70acf9845d223429026e.tar.xz
xsk: proper queue id check at bind
Validate the queue id against both Rx and Tx on the netdev. Also, make sure that the queue exists at xmit time. Reported-by: Jesper Dangaard Brouer <brouer@redhat.com> Tested-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp/xsk_queue.h')
0 files changed, 0 insertions, 0 deletions