]> git.ipfire.org Git - thirdparty/lldpd.git/commit
priv: don't use monitor for ethtool except for old kernels
authorVincent Bernat <vincent@bernat.im>
Sun, 7 Aug 2016 09:47:03 +0000 (11:47 +0200)
committerVincent Bernat <vincent@bernat.im>
Sun, 7 Aug 2016 09:47:43 +0000 (11:47 +0200)
commit4c98fe72dcd86ad11c6dec24bbaac64023cb4a59
tree5a7a1f69e2d744b289d95039eb3bab4dbf56c198
parent2fb135c8c5d75c520ff97efe39547e3a689f288a
priv: don't use monitor for ethtool except for old kernels

Since 2.6.37, we don't need any privilege for ethtool GSET. Not using
the monitor will increase performance.
src/daemon/interfaces-linux.c
src/daemon/lldpd.h
src/daemon/priv-linux.c
src/daemon/priv.c