Message ID | 20190301025757.27592-1-yuehaibing@huawei.com |
---|---|
Headers | show |
Series | appletalk: small cleanup and bugfix | expand |
From: Yue Haibing <yuehaibing@huawei.com> Date: Fri, 1 Mar 2019 10:57:55 +0800 > From: YueHaibing <yuehaibing@huawei.com> > > 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. Series applied, thanks.
From: YueHaibing <yuehaibing@huawei.com> 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(-)