diff options
author | David S. Miller <davem@davemloft.net> | 2019-01-30 14:02:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-30 14:02:43 -0800 |
commit | a10cc84791b1eaa8471ff4e76a1bc8f399800a0b (patch) | |
tree | c10f040dd73559e01d2511127d7bac7b55aa7249 /net/smc/smc_pnet.c | |
parent | 41ef81be794f8d3f0edb7f15f952113ec999cbd6 (diff) | |
parent | 5050471d35d1316ba32dfcbb409978337eb9e75e (diff) | |
download | linux-a10cc84791b1eaa8471ff4e76a1bc8f399800a0b.tar.gz linux-a10cc84791b1eaa8471ff4e76a1bc8f399800a0b.tar.bz2 linux-a10cc84791b1eaa8471ff4e76a1bc8f399800a0b.zip |
Merge branch 'virtio_net-Fix-problems-around-XDP-tx-and-napi_tx'
Toshiaki Makita says:
====================
virtio_net: Fix problems around XDP tx and napi_tx
While I'm looking into how to account standard tx counters on XDP tx
processing, I found several bugs around XDP tx and napi_tx.
Patch1: Fix oops on error path. Patch2 depends on this.
Patch2: Fix memory corruption on freeing xdp_frames with napi_tx enabled.
Patch3: Minor fix patch5 depends on.
Patch4: Fix memory corruption on processing xdp_frames when XDP is disabled.
Also patch5 depends on this.
Patch5: Fix memory corruption on processing xdp_frames while XDP is being
disabled.
Patch6: Minor fix patch7 depends on.
Patch7: Fix memory corruption on freeing sk_buff or xdp_frames when a normal
queue is reused for XDP and vise versa.
v2:
- patch5: Make rcu_assign_pointer/synchronize_net conditional instead of
_virtnet_set_queues.
- patch7: Use napi_consume_skb() instead of dev_consume_skb_any()
====================
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_pnet.c')
0 files changed, 0 insertions, 0 deletions