[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200103.122646.551144444195211447.davem@davemloft.net>
Date: Fri, 03 Jan 2020 12:26:46 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vulab@...as.ac.cn
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] l2tp: Remove redundant BUG_ON() check in l2tp_pernet
From: Xu Wang <vulab@...as.ac.cn>
Date: Fri, 3 Jan 2020 09:28:16 +0000
> Passing NULL to l2tp_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@...as.ac.cn>
Applied.
Powered by blists - more mailing lists