efinet_end() shut the Simple Network Protocol down but left it
started. Since 5bbd617cc5fe it also closes the protocol so that the
firmware's network stack can take the interface back for an HTTP
fetch. EDK2's MNP driver starts the SNP itself when it does, and
fails if the SNP is already started:
MnpStart: MnpStartSnp failed, Already started.
The fetch then fails, and the half-bound stack keeps the loader from
opening the interface again (EFI_ACCESS_DENIED). This broke the DHCP
initmd download every time, since it always follows net_configure().
Stop the SNP after shutting it down, so that whatever takes the
interface back can start it.
Fixes: 5bbd617cc5fe ("loader.efi: release SNP after network configuration")
Sponsored by: Rubicon Communications, LLC ("Netgate")