[PATCH 0/5] net/tap: some fixes and refactorings

Vladimir Sementsov-Ogievskiy posted 5 patches 4 years, 11 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201221190609.93768-1-vsementsov@virtuozzo.com
Maintainers: Jason Wang <jasowang@redhat.com>
include/net/vhost_net.h |   3 -
net/tap_int.h           |   2 +-
net/tap-bsd.c           |  53 ------------------
net/tap-linux.c         |   5 +-
net/tap-open-stub.c     |  34 ++++++++++++
net/tap-solaris.c       |  53 ------------------
net/tap-stub.c          |   9 +--
net/tap.c               | 119 ++++++++++++++++++++++------------------
net/meson.build         |   3 +
9 files changed, 108 insertions(+), 173 deletions(-)
create mode 100644 net/tap-open-stub.c
[PATCH 0/5] net/tap: some fixes and refactorings
Posted by Vladimir Sementsov-Ogievskiy 4 years, 11 months ago
Hi all. I have a work in progress around net/tap (and not sure, will
it be done or we go another way), but some fixes and good refactoring
I'd like to post anyway:

Vladimir Sementsov-Ogievskiy (5):
  net/tap: fix net_init_tap(): set ret on failure path
  net/tap: drop duplicated tap stubs
  net/tap: tap_set_sndbuf(): return status
  net/tap: refactor and improve net_init_tap_one()
  net/tap: net_init_tap_one(): fix net-client leak on failure path

 include/net/vhost_net.h |   3 -
 net/tap_int.h           |   2 +-
 net/tap-bsd.c           |  53 ------------------
 net/tap-linux.c         |   5 +-
 net/tap-open-stub.c     |  34 ++++++++++++
 net/tap-solaris.c       |  53 ------------------
 net/tap-stub.c          |   9 +--
 net/tap.c               | 119 ++++++++++++++++++++++------------------
 net/meson.build         |   3 +
 9 files changed, 108 insertions(+), 173 deletions(-)
 create mode 100644 net/tap-open-stub.c

-- 
2.28.0


Re: [PATCH 0/5] net/tap: some fixes and refactorings
Posted by Vladimir Sementsov-Ogievskiy 4 years, 10 months ago
ping :)

21.12.2020 22:06, Vladimir Sementsov-Ogievskiy wrote:
> Hi all. I have a work in progress around net/tap (and not sure, will
> it be done or we go another way), but some fixes and good refactoring
> I'd like to post anyway:
> 
> Vladimir Sementsov-Ogievskiy (5):
>    net/tap: fix net_init_tap(): set ret on failure path
>    net/tap: drop duplicated tap stubs
>    net/tap: tap_set_sndbuf(): return status
>    net/tap: refactor and improve net_init_tap_one()
>    net/tap: net_init_tap_one(): fix net-client leak on failure path
> 
>   include/net/vhost_net.h |   3 -
>   net/tap_int.h           |   2 +-
>   net/tap-bsd.c           |  53 ------------------
>   net/tap-linux.c         |   5 +-
>   net/tap-open-stub.c     |  34 ++++++++++++
>   net/tap-solaris.c       |  53 ------------------
>   net/tap-stub.c          |   9 +--
>   net/tap.c               | 119 ++++++++++++++++++++++------------------
>   net/meson.build         |   3 +
>   9 files changed, 108 insertions(+), 173 deletions(-)
>   create mode 100644 net/tap-open-stub.c
> 


-- 
Best regards,
Vladimir