]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert r366857.
authorCy Schubert <cy@FreeBSD.org>
Fri, 4 Dec 2020 19:35:43 +0000 (19:35 +0000)
committerCy Schubert <cy@FreeBSD.org>
Fri, 4 Dec 2020 19:35:43 +0000 (19:35 +0000)
commit5086c2580347a2533841e056a1717f3b32bb6a1e
tree7e5d9fc39e0756668747a6bd4a9bdfb15c935ac1
parentcd46e359cc41e7e015ebdda698a955ef7cca2242
Revert r366857.

r366857 created a number of problems, tearing down interfaces too
early in shutdown. This resulted in:

- hung ssh sessions when shutting down or rebooting remotely using
  shutdown (I've used exec shutdown, for years, as apposed to simply
  shutdown).

- NFS mounted filesystems "disappear" prior to unmount.

- dhclient attached to a VLAN on an interface who's parent interface
  has already shut down prints errors.

The path forward is to teach lagg(4) and vlan(4) about WOL.

PR: 251531, 251540
PR: 158734, 109980 are broken again
Reported by: jhb, emaste, jtl, Helge Oldach<freebsd_oldach.net>
Martin Birgmeier <d8zNeCFG_aon.at>
Discussion at: https://reviews.freebsd.org/D27459
libexec/rc/rc.d/netif