Skip to content

Fixing races in probe/remove

Jason Wang lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3caif_virtio: remove virtqueue_disable_cb() in probedrivers/net/caif/caif_virtio.c+0 -32 replies
2/3caif_virtio: fix the race between virtio_device_ready() and ndo_open()drivers/net/caif/caif_virtio.c+9 -11 reply
3/3caif_virtio: fix the race between reset and netdev unregisterdrivers/net/caif/caif_virtio.c+2 -46 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMichael S. Tsirkin
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fixing races in probe/remove

Hi all:

This series tries to fix races spotted during code review for caif_virtio in probe() and remove().

Compile test only. (I don't have setup to test them).

Please review.

Thanks

Jason Wang (3):
caif_virtio: remove virtqueue_disable_cb() in probe
caif_virtio: fix the race between virtio_device_ready() and ndo_open()
caif_virtio: fix the race between reset and netdev unregister

 drivers/net/caif/caif_virtio.c | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1