[PATCH net v4 0/4] ax25: Fix issues of ax25_dev and net_device

Duoming Zhou posted 4 patches 1 year, 7 months ago
There is a newer version of this series
include/net/ax25.h  |  4 ++--
net/ax25/ax25_dev.c | 51 ++++++++++++++++-----------------------------
2 files changed, 20 insertions(+), 35 deletions(-)
[PATCH net v4 0/4] ax25: Fix issues of ax25_dev and net_device
Posted by Duoming Zhou 1 year, 7 months ago
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