[PATCH 4.15 086/122] l2tp: fix race in pppol2tp_release with session object destroy

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: James Chapman [ Upstream commit d02ba2a6110c530a32926af8ad44774d2893 ] pppol2tp_release uses call_rcu to put the final ref on its socket. But the session object

[PATCH 4.15 086/122] l2tp: fix race in pppol2tp_release with session object destroy

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: James Chapman [ Upstream commit d02ba2a6110c530a32926af8ad44774d2893 ] pppol2tp_release uses call_rcu to put the final ref on its socket. But the session object doesn't hold a ref on the