[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d3b4fbce-3349-d51d-4a2c-220ccadac506@cogentembedded.com>
Date: Tue, 24 Dec 2019 14:42:12 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Xu Wang <vulab@...as.ac.cn>, paulus@...ba.org
Cc: davem@...emloft.net, linux-ppp@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ppp: Remove redundant BUG_ON() check in ppp_pernet
Hello!
On 12/24/2019 12:37 PM, Xu Wang wrote:
> Passing NULL to ppp_pernet causes a crash via BUG_ON.
> Dereferencing net in net_generici() also has the same effect.
s/generici/generic/. :-)
> This patch removes the redundant BUG_ON check on the same parameter.
>
> Signed-off-by: Xu Wang <vulab@...as.ac.cn>
[...]
MBR, Sergei
Powered by blists - more mailing lists