Tested this series of patches with virtio-net regression tests, everything works fine.
Tested-by: Lei Yang <[email protected]> On Fri, Sep 12, 2025 at 12:51 AM Vladimir Sementsov-Ogievskiy <[email protected]> wrote: > > Hi all! > > Here is the simple and independent part of v3. The long tail > of the series I'll rework and send in separate. > > v4: - finally, use bool reaturn value to add to errp functions > - rework tap_set_sndbuf > > Vladimir Sementsov-Ogievskiy (8): > net/tap: net_init_tap_one(): add return value > net/tap: rework tap_set_sndbuf() > net/tap: net_init_tap_one(): drop extra error propagation > net/tap: launch_script(): add return value > net/tap: net_init_tap_one(): move parameter checking earlier > net/tap: net_init_tap(): refactor parameter checking > net/tap: net_init_tap(): drop extra variable vhostfdname > net/tap: move local variables related to the latter case to else > branch > > net/tap-bsd.c | 3 +- > net/tap-linux.c | 19 ++---- > net/tap-solaris.c | 3 +- > net/tap-stub.c | 3 +- > net/tap.c | 146 +++++++++++++++++++++------------------------- > net/tap_int.h | 4 +- > 6 files changed, 80 insertions(+), 98 deletions(-) > > -- > 2.48.1 >
