linux-hams.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] ax25: Fix issues of ax25_dev and net_device
@ 2024-05-06 14:08 Duoming Zhou
  2024-05-06 14:08 ` [PATCH net v3 1/2] ax25: Fix reference count leak " Duoming Zhou
  2024-05-06 14:08 ` [PATCH net v3 2/2] ax25: Change kfree() in ax25_dev_free() to ax25_dev_put() Duoming Zhou
  0 siblings, 2 replies; 6+ messages in thread
From: Duoming Zhou @ 2024-05-06 14:08 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 fixes reference count leak issues the object of
"ax25_dev" and "net_device". The second patch uses ax25_dev_put()
to replace kfree() in ax25_dev_free().

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: Fix reference count leak issues of ax25_dev and net_device
  ax25: Change kfree() in ax25_dev_free() to ax25_dev_put()

 include/net/ax25.h  |  4 ++--
 net/ax25/ax25_dev.c | 49 ++++++++++++++++-----------------------------
 2 files changed, 19 insertions(+), 34 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2024-05-06 15:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 14:08 [PATCH net v3 0/2] ax25: Fix issues of ax25_dev and net_device Duoming Zhou
2024-05-06 14:08 ` [PATCH net v3 1/2] ax25: Fix reference count leak " Duoming Zhou
2024-05-06 14:46   ` Dan Carpenter
2024-05-06 15:11   ` Markus Elfring
2024-05-06 14:08 ` [PATCH net v3 2/2] ax25: Change kfree() in ax25_dev_free() to ax25_dev_put() Duoming Zhou
2024-05-06 15:50   ` Markus Elfring

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