]> git.ipfire.org Git - thirdparty/lldpd.git/commit
netlink: remove use of libnl3
authorVincent Bernat <vincent@bernat.im>
Fri, 1 Jan 2016 07:54:32 +0000 (08:54 +0100)
committerVincent Bernat <vincent@bernat.im>
Fri, 1 Jan 2016 18:11:48 +0000 (19:11 +0100)
commit0fa2254b441699776bc18cc66c1109a959e10c8e
treec82ee0837160398f53367a95a71f098140ca812b
parent24cb96840ac5330a40872ecd49c4dbe210df2dc2
netlink: remove use of libnl3

Use netlink implementation from 0.7.19 instead but manage a cache
ourselves. The changes are quite minimal compared to the implementation
in 0.7.19. We handle deletion and updates. The use of linked list may be
problematic performance-wise.

When an interface goes down then up, no PDU is scheduled to be sent
again. This bug was already present in the previous implementation and
should be a regression of 36080c.
18 files changed:
.gitmodules
Makefile.am
NEWS
README.md
configure.ac
debian/control
debian/copyright
libnl [deleted submodule]
m4/libnl3.m4 [deleted file]
redhat/lldpd.spec
src/daemon/Makefile.am
src/daemon/event.c
src/daemon/interfaces-bsd.c
src/daemon/interfaces-linux.c
src/daemon/interfaces.c
src/daemon/lldpd.h
src/daemon/netlink.c
tests/Makefile.am