diff options
author | Jason Wang <jasowang@redhat.com> | 2018-03-09 14:50:33 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-09 12:02:59 -0500 |
commit | 303fd71b37fb710b26f5ff5444029d62cfd627bd (patch) | |
tree | 293b96678dda7f617ccf9a8e167f4ac977f3a17c /drivers/nfc/pn533/Makefile | |
parent | ab7e34b3431c5d29817c503ad4d3bf2732f92ad3 (diff) | |
download | talos-op-linux-303fd71b37fb710b26f5ff5444029d62cfd627bd.tar.gz talos-op-linux-303fd71b37fb710b26f5ff5444029d62cfd627bd.zip |
vhost_net: keep private_data and rx_ring synced
We get pointer ring from the exported sock, this means we should keep
rx_ring and vq->private synced during both vq stop and backend set,
otherwise we may see stale rx_ring.
Fixes: c67df11f6e480 ("vhost_net: try batch dequing from skb array")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/pn533/Makefile')
0 files changed, 0 insertions, 0 deletions