aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-12-13 11:08:43 +0000
committerPaolo Abeni <[email protected]>2024-12-17 11:08:28 +0000
commit001a25088c35ab69bd4b2f208e47eb8acbce6353 (patch)
tree7ea139cc81ce62663e25af29b87dd604cc14a2df /tools/testing/selftests/net/lib/py/utils.py
parentaf_unix: Clean up error paths in unix_stream_sendmsg(). (diff)
downloadkernel-001a25088c35ab69bd4b2f208e47eb8acbce6353.tar.gz
kernel-001a25088c35ab69bd4b2f208e47eb8acbce6353.zip
af_unix: Set error only when needed in unix_dgram_sendmsg().
We will introduce skb drop reason for AF_UNIX, then we need to set an errno and a drop reason for each path. Let's set an error only when it's needed in unix_dgram_sendmsg(). Then, we need not (re)set 0 to err. Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions