Re: [PATCH net-next 07/16] l2tp: hide sessions if they are closing

2018-02-11 Thread kbuild test robot
Hi James, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/James-Chapman/l2tp-fix-API-races-discovered-by-syzbot/20180212-102613 config: i386-randconfig-x079-201806 (attached as .config) compiler: gcc-7

[PATCH net-next 07/16] l2tp: hide sessions if they are closing

2018-02-09 Thread James Chapman
Replace the dead flag in the session context with a closing flag and spinlock. Check it in session lookup functions such that we don't try to access session data while it is being destroyed. Signed-off-by: James Chapman --- net/l2tp/l2tp_core.c | 34