]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Destroy cloned interfaces at netif stop, netif restart and shutdown.
authorcy <cy@FreeBSD.org>
Mon, 19 Oct 2020 20:37:38 +0000 (20:37 +0000)
committercy <cy@FreeBSD.org>
Mon, 19 Oct 2020 20:37:38 +0000 (20:37 +0000)
commit838888cf386ab3de1eed2b36b07b57873bd18d06
tree21bd4134050fa7e5e6863c1cf177c6c22ebb4c36
parent753bd384868a93750b495fc62b1da16d317ed53f
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