[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ0PR18MB52162A216C2D4422BFF916E8DB85A@SJ0PR18MB5216.namprd18.prod.outlook.com>
Date: Tue, 5 Dec 2023 11:04:58 +0000
From: Suman Ghosh <sumang@...vell.com>
To: Siddh Raman Pant <code@...dh.me>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [EXT] [PATCH net-next v3 2/2] nfc: Do not send datagram if socket
state isn't LLCP_BOUND
>As we know we cannot send the datagram (state can be set to LLCP_CLOSED
>by nfc_llcp_socket_release()), there is no need to proceed further.
>
>Thus, bail out early from llcp_sock_sendmsg().
>
>Signed-off-by: Siddh Raman Pant <code@...dh.me>
>Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
>---
Reviewed-by: Suman Ghosh <sumang@...vell.com>
> net/nfc/llcp_sock.c | 5 +++++
Powered by blists - more mailing lists