linux-hams.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] ax25: fix reference counting issue of ax25_dev
@ 2024-05-02 23:36 Duoming Zhou
  2024-05-02 23:36 ` [PATCH net v2 1/2] ax25: change kfree in ax25_dev_free to ax25_dev_free Duoming Zhou
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Duoming Zhou @ 2024-05-02 23:36 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, linux-hams, pabeni, kuba, edumazet, davem, jreuter,
	horms, Markus.Elfring, dan.carpenter, lars, Duoming Zhou

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/20240501060218.32898-1-duoming@zju.edu.cn/

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(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-03 13:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-02 23:36 [PATCH net v2 0/2] ax25: fix reference counting issue of ax25_dev Duoming Zhou
2024-05-02 23:36 ` [PATCH net v2 1/2] ax25: change kfree in ax25_dev_free to ax25_dev_free Duoming Zhou
2024-05-03  5:36   ` Markus Elfring
2024-05-03 11:33     ` Dan Carpenter
2024-05-02 23:36 ` [PATCH net v2 2/2] ax25: fix potential reference counting leak in ax25_addr_ax25dev Duoming Zhou
2024-05-03  7:30   ` Markus Elfring
2024-05-03 11:38     ` Dan Carpenter
2024-05-03 13:39       ` [v2 " Markus Elfring
2024-05-03  5:10 ` [PATCH net v2 0/2] ax25: fix reference counting issue of ax25_dev Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).