[PATCH v2 0/2] appletalk: small cleanup and bugfix

From: Yue Haibing
Date: Thu Feb 28 2019 - 21:58:24 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>

v2:
- Add cover letter log

This patch series mainly fix a use-after-free bug in atalk_proc_exit.
patch 1 use remove_proc_subtree helper to simplify atalk_proc fs code,
also some other cleanup.
patch 2 add proper error cleanup path in atalk_init to fix the issue, which
based on the patch 1 because of the change of atalk_proc_exit context.

YueHaibing (2):
appletalk: use remove_proc_subtree to simplify procfs code
appletalk: Fix use-after-free in atalk_proc_exit

include/linux/atalk.h | 2 +-
net/appletalk/atalk_proc.c | 58 +++++++++++++---------------------------
net/appletalk/ddp.c | 37 ++++++++++++++++++++-----
net/appletalk/sysctl_net_atalk.c | 5 +++-
4 files changed, 54 insertions(+), 48 deletions(-)

--
2.7.0