[PATCHv2 0/4] netlink: Extract common code to simplify netlink functions

Shi Lei shi_lei at massclouds.com
Wed Jan 6 02:40:13 UTC 2021


V1 here: https://www.redhat.com/archives/libvir-list/2020-December/msg00836.html

Since V1:
    - Minor fixes for reporting system error in Patch 4.

Shi Lei (4):
  netlink: Remove invalid flags(NLM_F_CREATE and NLM_F_EXCL) for RTM_DELLINK
  netlink: Minor changes for macros NETLINK_MSG_[NEST_START|NEST_END|PUT]
  netlink: Introduce macro NETLINK_MSG_APPEND to wrap nlmsg_append
  netlink: Introduce a helper function to simplify netlink functions

 src/util/virnetlink.c | 314 +++++++++++++++++++-----------------------
 src/util/virnetlink.h |  27 +---
 2 files changed, 142 insertions(+), 199 deletions(-)

-- 
2.25.1





More information about the libvir-list mailing list