aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Lorenzo Bianconi <lorenzo@kernel.org> 2019-10-01 10:33:51 +0200
committerGravatar David S. Miller <davem@davemloft.net> 2019-10-01 09:07:47 -0700
commit55131dec2b1c7417d216f861ea7a29dc7c4d2d20 (patch)
treebed0df6621bc972500953f636a16452ffd1bbb9c /Documentation
parentnet: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte (diff)
downloadlinux-55131dec2b1c7417d216f861ea7a29dc7c4d2d20.tar.gz
linux-55131dec2b1c7417d216f861ea7a29dc7c4d2d20.tar.bz2
linux-55131dec2b1c7417d216f861ea7a29dc7c4d2d20.zip
net: socionext: netsec: always grab descriptor lock
Always acquire tx descriptor spinlock even if a xdp program is not loaded on the netsec device since ndo_xdp_xmit can run concurrently with netsec_netdev_start_xmit and netsec_clean_tx_dring. This can happen loading a xdp program on a different device (e.g virtio-net) and xdp_do_redirect_map/xdp_do_redirect_slow can redirect to netsec even if we do not have a xdp program on it. Fixes: ba2b232108d3 ("net: netsec: add XDP support") Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions