Skip to content

mctp: Fix incorrect refs for extended addr

Matt Johnston netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied 2/2
  2. v21 patch 1 replySuperseded
  3. v11 patch 0 repliesSuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mctp: make __mctp_dev_get() take a refcount holdnet/mctp/device.c net/mctp/route.c net/mctp/test/utils.c+22 -52 repliesApplied
2/2mctp: Fix incorrect netdev unref for extended addrnet/mctp/route.c+2 -60 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH net-next v3 0/2] mctp: Fix incorrect refs for extended addr

This fixes an incorrect netdev unref and also addresses the race condition identified by Jakub in v2. Thanks for the review.

Cheers,
Matt

Matt Johnston (2):
mctp: make __mctp_dev_get() take a refcount hold
mctp: Fix incorrect netdev unref for extended addr

 net/mctp/device.c     | 21 ++++++++++++++++++---
 net/mctp/route.c      | 13 ++++++-------
 net/mctp/test/utils.c |  1 -
 3 files changed, 24 insertions(+), 11 deletions(-)
Signature · 1 line
2.32.0