linux-hams.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v4 0/4] ax25: Fix issues of ax25_dev and net_device
@ 2024-05-07  5:51 Duoming Zhou
  2024-05-07  5:52 ` [PATCH net v4 1/4] ax25: Use kernel universal linked list to implement ax25_dev_list Duoming Zhou
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Duoming Zhou @ 2024-05-07  5:51 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 use 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  |  4 ++--
 net/ax25/ax25_dev.c | 51 ++++++++++++++++-----------------------------
 2 files changed, 20 insertions(+), 35 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2024-05-07  5:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07  5:51 [PATCH net v4 0/4] ax25: Fix issues of ax25_dev and net_device Duoming Zhou
2024-05-07  5:52 ` [PATCH net v4 1/4] ax25: Use kernel universal linked list to implement ax25_dev_list Duoming Zhou
2024-05-07  5:52 ` [PATCH net v4 2/4] ax25: Fix reference count leak issues of ax25_dev Duoming Zhou
2024-05-07  5:52 ` [PATCH net v4 3/4] ax25: Fix reference count leak issues of net_device Duoming Zhou
2024-05-07  5:52 ` [PATCH net v4 4/4] ax25: Change kfree() in ax25_dev_free() to ax25_dev_put() Duoming Zhou

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