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

Shi Lei posted 4 patches 3 years, 4 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20201221032350.29006-1-shi_lei@massclouds.com
There is a newer version of this series
src/util/virnetlink.c | 299 ++++++++++++++++++------------------------
src/util/virnetlink.h |  27 +---
2 files changed, 126 insertions(+), 200 deletions(-)
[PATCH 0/4] netlink: Extract common code to simplify netlink functions
Posted by Shi Lei 3 years, 4 months ago
This series makes some minor changes for macros NETLINK_MSG_* and extract
common code to simplify those netlink functions.

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 | 299 ++++++++++++++++++------------------------
 src/util/virnetlink.h |  27 +---
 2 files changed, 126 insertions(+), 200 deletions(-)

-- 
2.25.1