aboutgitcodebugslistschat
path: root/test/pasta_podman
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-08-03 17:19:47 +1000
committerStefano Brivio <sbrivio@redhat.com>2023-08-04 01:28:14 +0200
commitf62600b2df2c168cf0a4bb23730cbc23510cb53c (patch)
treed9f77e568278c70bf63421d01a134949d2f0f766 /test/pasta_podman
parent0a568c847d58db95ffa7918d950f8164832b119f (diff)
downloadpasst-f62600b2df2c168cf0a4bb23730cbc23510cb53c.tar
passt-f62600b2df2c168cf0a4bb23730cbc23510cb53c.tar.gz
passt-f62600b2df2c168cf0a4bb23730cbc23510cb53c.tar.bz2
passt-f62600b2df2c168cf0a4bb23730cbc23510cb53c.tar.lz
passt-f62600b2df2c168cf0a4bb23730cbc23510cb53c.tar.xz
passt-f62600b2df2c168cf0a4bb23730cbc23510cb53c.tar.zst
passt-f62600b2df2c168cf0a4bb23730cbc23510cb53c.zip
netlink: Treat send() or recv() errors as fatal
Errors on send() or recv() calls on a netlink socket don't indicate errors with the netlink operations we're attempting, but rather that something's gone wrong with the mechanics of netlink itself. We don't really expect this to ever happen, and if it does, it's not clear what we could to to recover. So, treat errors from these calls as fatal, rather than returning the error up the stack. This makes handling failures in the callers of nl_req() simpler. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/pasta_podman')
0 files changed, 0 insertions, 0 deletions