Skip to content

ax25: fix reference counting issue of ax25_dev

Duoming Zhou kernel-janitors linux-hams lkml netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ax25: change kfree in ax25_dev_free to ax25_dev_freenet/ax25/ax25_dev.c+1 -12 replies
2/2ax25: fix potential reference counting leak in ax25_addr_ax25devnet/ax25/ax25_dev.c+2 -13 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDan Carpenter
SeriesR-b
1/2
2/2

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

Read the v2 thread

Cover letter [PATCH net v2 0/2] ax25: fix reference counting issue of ax25_dev

The first patch changes kfree in ax25_dev_free to ax25_dev_put, because the ax25_dev is managed by reference counting.

The second patch fixes potential reference counting leak issue in ax25_addr_ax25dev.

You can see the former discussion in the following link:
https://lore.kernel.org/netdev/[email protected]/

Duoming Zhou (2):
ax25: change kfree in ax25_dev_free to ax25_dev_free
ax25: fix potential reference counting leak in ax25_addr_ax25dev

 net/ax25/ax25_dev.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1