net: qrtr: ns: Ignore ENODEV failures in ns
authorChris Lew <quic_clew@quicinc.com>
Wed, 12 Jun 2024 06:31:56 +0000 (12:01 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 14 Jun 2024 11:17:21 +0000 (13:17 +0200)
commit404dbd26322f50c8123bf5bff9a409356889035f
tree283c01ea9872f7ece89a0eea6cc4d35bed8ba3b7
parent3873d0d107c18a01112c25aa2b3cc3c42714385f
net: qrtr: ns: Ignore ENODEV failures in ns

Ignore the ENODEV failures returned by kernel_sendmsg(). These errors
indicate that either the local port has been closed or the remote has
gone down. Neither of these scenarios are fatal and will eventually be
handled through packets that are later queued on the control port.

Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Signed-off-by: Sarannya Sasikumar <quic_sarannya@quicinc.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240612063156.1377210-1-quic_sarannya@quicinc.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/qrtr/ns.c