]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: netlink: Replace virNetDevPutExtraHeader with nlmsg_append
authorShi Lei <shi_lei@massclouds.com>
Fri, 7 Sep 2018 08:14:46 +0000 (16:14 +0800)
committerErik Skultety <eskultet@redhat.com>
Fri, 7 Sep 2018 12:38:23 +0000 (14:38 +0200)
commit74cd6a538d4bcad1638e63246faf1bcb4094a798
treee0b3247fe4c374ff386148a4e680f9f3949b33a9
parentf9a59e051c479b7678f46ae3e70594aec605ee6a
util: netlink: Replace virNetDevPutExtraHeader with nlmsg_append

nlmsg_append from the libnl library provides exactly the same
functionality, so we should rely on that instead. This also allows us to
drop the aforementioned function completely.

Signed-off-by: Shi Lei <shi_lei@massclouds.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/util/virnetdev.c