[PATCH RESEND net v4 0/4] ax25: Fix issues of ax25_dev and net_device
From: Duoming Zhou
Date: Tue May 07 2024 - 02:21:53 EST
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@xxxxxxxxxx/
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