Messages in this thread | | | Date | Fri, 03 Jan 2020 12:26:34 -0800 (PST) | Subject | Re: [PATCH] net: Remove redundant BUG_ON() check in phonet_pernet | From | David Miller <> |
| |
From: Xu Wang <vulab@iscas.ac.cn> Date: Fri, 3 Jan 2020 09:20:40 +0000
> Passing NULL to phonet_pernet causes a crash via BUG_ON. > Dereferencing net in net_generic() also has the same effect. > This patch removes the redundant BUG_ON check on the same parameter. > > Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Applied.
| |