]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Destroy cloned interfaces at netif stop, netif restart and shutdown.
authorCy Schubert <cy@FreeBSD.org>
Mon, 19 Oct 2020 20:37:38 +0000 (20:37 +0000)
committerCy Schubert <cy@FreeBSD.org>
Mon, 19 Oct 2020 20:37:38 +0000 (20:37 +0000)
commitbd0e0447cb89d4f14dd9cbf138b155016bf39f1e
tree21bd4134050fa7e5e6863c1cf177c6c22ebb4c36
parent3001e97debded988ff2c6c9aaf537090816e8f97
Destroy cloned interfaces at netif stop, netif restart and shutdown.
This is especially important during shutdown because a child interface
of lagg with WOL enabled will not enable WOL at interface shutdown and
thus no WOL to wake up the device (and machine).

PR: 158734, 109980
Reported by: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Marat N.Afanasyev <marat at zealot.ksu.ru>
reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26797
libexec/rc/rc.d/netif