]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldpd: handle early cleanup in case interface cannot be created
authorVincent Bernat <vincent@bernat.im>
Sun, 31 Aug 2014 19:56:49 +0000 (21:56 +0200)
committerVincent Bernat <vincent@bernat.im>
Sun, 31 Aug 2014 19:56:49 +0000 (21:56 +0200)
commitdbfa89c6e597011144032f1bcde300cfe2c64e47
tree4271e837fc6ef7c18408e2f18e5ad5b53f996080
parent8568f6cd2277e570755c6efd5d8269fcccf5106f
lldpd: handle early cleanup in case interface cannot be created

When an interface is about to be created but an external condition makes
it impossible, the cleanup may crash because the interface was
incomplete. Check things exist before cleanup.
src/daemon/event.c
src/daemon/lldpd.c