linux-hams.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v5 0/4] ax25: Fix issues of ax25_dev and net_device
@ 2024-05-07  7:03 Duoming Zhou
  2024-05-07  7:03 ` [PATCH net v5 1/4] ax25: Use kernel universal linked list to implement ax25_dev_list Duoming Zhou
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Duoming Zhou @ 2024-05-07  7:03 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, linux-hams, pabeni, kuba, edumazet, jreuter,
	dan.carpenter, Duoming Zhou

The first patch uses kernel universal linked list to implement
ax25_dev_list, which makes the operation of the list easier.
The second and third patch fix reference count leak issues of
the object "ax25_dev" and "net_device". The last 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 (4):
  ax25: Use kernel universal linked list to implement ax25_dev_list
  ax25: Fix reference count leak issues of ax25_dev
  ax25: Fix reference count leak issues of net_device
  ax25: Change kfree() in ax25_dev_free() to ax25_dev_put()

 include/net/ax25.h  |  3 +--
 net/ax25/ax25_dev.c | 52 +++++++++++++++++----------------------------
 2 files changed, 20 insertions(+), 35 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2024-05-08 14:36 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07  7:03 [PATCH net v5 0/4] ax25: Fix issues of ax25_dev and net_device Duoming Zhou
2024-05-07  7:03 ` [PATCH net v5 1/4] ax25: Use kernel universal linked list to implement ax25_dev_list Duoming Zhou
2024-05-07  8:48   ` Markus Elfring
2024-05-07  9:29   ` Ratheesh Kannoth
2024-05-07  9:52     ` Dan Carpenter
2024-05-07 19:43   ` Lars Kellogg-Stedman
2024-05-07 23:46     ` Lars Kellogg-Stedman
2024-05-08  9:26       ` Dan Carpenter
2024-05-08 14:31         ` Lars Kellogg-Stedman
2024-05-07  7:03 ` [PATCH net v5 2/4] ax25: Fix reference count leak issues of ax25_dev Duoming Zhou
2024-05-07  9:12   ` Markus Elfring
2024-05-07  7:03 ` [PATCH net v5 3/4] ax25: Fix reference count leak issues of net_device Duoming Zhou
2024-05-07  9:25   ` Markus Elfring
2024-05-07  7:03 ` [PATCH net v5 4/4] ax25: Change kfree() in ax25_dev_free() to ax25_dev_put() Duoming Zhou
2024-05-07  9:42   ` Markus Elfring
2024-05-07 14:13   ` Ratheesh Kannoth
2024-05-08 12:30     ` Dan Carpenter
2024-05-07 10:00 ` [PATCH net v5 0/4] ax25: Fix issues of ax25_dev and net_device 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).