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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



V2 here: https://www.redhat.com/archives/libvir-list/2021-January/msg00174.html

Since V2:

    - Fix the post process of virNetlinkTalk().
      If virNetlinkTalk() succeeds and we got an NLMSG_ERROR packet with
      the zero-value error, it should be regarded as a success.

    - Several fixes for the pointer of resp in virNetlinkTalk().

    - Minor fixes according to coding style.

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

-- 
2.25.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux