diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-04-15 17:16:23 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-04-15 19:49:06 +0200 |
| commit | cfc0ee145a5cdd29b6e584171085dac6539b86c0 (patch) | |
| tree | b1a40b11d6289b2d8b92b9f4425c40c43a175126 /doc | |
| parent | f107a86cc05c83c5755861b00b85cdf0eb5c9534 (diff) | |
| download | passt-cfc0ee145a5cdd29b6e584171085dac6539b86c0.tar passt-cfc0ee145a5cdd29b6e584171085dac6539b86c0.tar.gz passt-cfc0ee145a5cdd29b6e584171085dac6539b86c0.tar.bz2 passt-cfc0ee145a5cdd29b6e584171085dac6539b86c0.tar.lz passt-cfc0ee145a5cdd29b6e584171085dac6539b86c0.tar.xz passt-cfc0ee145a5cdd29b6e584171085dac6539b86c0.tar.zst passt-cfc0ee145a5cdd29b6e584171085dac6539b86c0.zip | |
udp: Minor re-organisation of udp_sock_recverr()
Usually we work with the "exit early" flow style, where we return early
on "error" conditions in functions. We don't currently do this in
udp_sock_recverr() for the case where we don't have a flow to associate
the error with.
Reorganise to use the "exit early" style, which will make some subsequent
changes less awkward.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
