Re: [PATCHv3 net] net: sched: set xt_tgchk_param par.net properly in ipt_init_target

2017-08-08 Thread David Miller
From: Xin Long Date: Tue, 8 Aug 2017 15:25:25 +0800 > Now xt_tgchk_param par in ipt_init_target is a local varibale, > par.net is not initialized there. Later when xt_check_target > calls target's checkentry in which it may access par.net, it > would cause kernel panic. > > Jaroslav found this

Re: [PATCHv3 net] net: sched: set xt_tgchk_param par.net properly in ipt_init_target

2017-08-08 Thread Jiri Pirko
Tue, Aug 08, 2017 at 09:25:25AM CEST, lucien@gmail.com wrote: >Now xt_tgchk_param par in ipt_init_target is a local varibale, >par.net is not initialized there. Later when xt_check_target >calls target's checkentry in which it may access par.net, it >would cause kernel panic. > >Jaroslav found