aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRyosuke Yasuoka <[email protected]>2024-05-21 15:34:42 +0000
committerPaolo Abeni <[email protected]>2024-05-23 10:39:44 +0000
commit6671e352497ca4bb07a96c48e03907065ff77d8a (patch)
tree0cead9afb23c2acdd83ae94df018889fe58c96e4 /net/unix/af_unix.c
parentnet: relax socket state check at accept time. (diff)
downloadkernel-6671e352497ca4bb07a96c48e03907065ff77d8a.tar.gz
kernel-6671e352497ca4bb07a96c48e03907065ff77d8a.zip
nfc: nci: Fix handling of zero-length payload packets in nci_rx_work()
When nci_rx_work() receives a zero-length payload packet, it should not discard the packet and exit the loop. Instead, it should continue processing subsequent packets. Fixes: d24b03535e5e ("nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet") Signed-off-by: Ryosuke Yasuoka <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions