mbox series

[net,v3,0/2] ax25: Fix issues of ax25_dev and net_device

Message ID cover.1715002910.git.duoming@zju.edu.cn (mailing list archive)
Headers show
Series ax25: Fix issues of ax25_dev and net_device | expand

Message

Duoming Zhou May 6, 2024, 2:08 p.m. UTC
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(-)