[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230317125436.18bdcacf@kernel.org>
Date: Fri, 17 Mar 2023 12:54:36 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Kang Chen <void0red@...il.com>
Cc: horatiu.vultur@...rochip.com, borisp@...dia.com,
davem@...emloft.net, dirk.vandermerwe@...ronome.com,
edumazet@...gle.com, john.fastabend@...il.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
pabeni@...hat.com
Subject: Re: [PATCH net v2] net/tls: refine the branch condition in
tls_dev_event
On Fri, 17 Mar 2023 16:33:38 +0800 Kang Chen wrote:
> dev->tlsdev_ops may be null and cause null pointer dereference later.
It'd be a driver bug to report NETIF_F_HW_TLS_RX but not have ops.
Powered by blists - more mailing lists