linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] appletalk: small cleanup and bugfix
@ 2019-03-01  2:57 Yue Haibing
  2019-03-01  2:57 ` [PATCH v2 1/2] appletalk: use remove_proc_subtree to simplify procfs code Yue Haibing
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yue Haibing @ 2019-03-01  2:57 UTC (permalink / raw)
  To: davem, joe, gregkh; +Cc: linux-kernel, netdev, YueHaibing

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(-)

-- 
2.7.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-03 21:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01  2:57 [PATCH v2 0/2] appletalk: small cleanup and bugfix Yue Haibing
2019-03-01  2:57 ` [PATCH v2 1/2] appletalk: use remove_proc_subtree to simplify procfs code Yue Haibing
2019-03-01  2:57 ` [PATCH v2 2/2] appletalk: Fix use-after-free in atalk_proc_exit Yue Haibing
2019-03-03 21:02 ` [PATCH v2 0/2] appletalk: small cleanup and bugfix David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).