[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200103.122634.2163230632525723815.davem@davemloft.net>
Date: Fri, 03 Jan 2020 12:26:34 -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] net: Remove redundant BUG_ON() check in phonet_pernet
From: Xu Wang <vulab@...as.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@...as.ac.cn>
Applied.
Powered by blists - more mailing lists