Re: [PATCH][net-next] netns: restore ops before calling ops_exit_list

2019-06-22 Thread David Miller
From: Li RongQing Date: Thu, 20 Jun 2019 19:24:40 +0800 > ops has been iterated to first element when call pre_exit, and > it needs to restore from save_ops, not save ops to save_ops > > Fixes: d7d99872c144 ("netns: add pre_exit method to struct pernet_operations") > Signed-off-by: Li RongQing

Re: [PATCH][net-next] netns: restore ops before calling ops_exit_list

2019-06-20 Thread Eric Dumazet
On Thu, Jun 20, 2019 at 7:24 AM Li RongQing wrote: > > ops has been iterated to first element when call pre_exit, and > it needs to restore from save_ops, not save ops to save_ops > > Fixes: d7d99872c144 ("netns: add pre_exit method to struct pernet_operations") > Signed-off-by: Li RongQing Than