]> git.ipfire.org Git - thirdparty/grub.git/commit
efinet: enable hardware filters when opening interface
authorAndrei Borzenkov <arvidjaar@gmail.com>
Tue, 16 Jun 2015 16:52:45 +0000 (19:52 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Tue, 16 Jun 2015 16:52:45 +0000 (19:52 +0300)
commitf348aee7b33dd85e7da62b497a96a7319a0bf9dd
tree8df652f80691bfd8d54e19ec5135a8121aa620e6
parentb27af387ea56123bfb101f2129490fa2df704d22
efinet: enable hardware filters when opening interface

Exclusive open on SNP will close all existing protocol instances which
may disable all receive filters on interface. Reinstall them after we
opened protocol exclusively.

Also follow UEFI specification recommendation and stop interfaces when
closing them:

Unexpected system errors, reboots and hangs can occur if an OS is loaded
and the network devices are not Shutdown() and Stopped().

Also by: Mark Salter <msalter@redhat.com>
Closes: 45204
grub-core/net/drivers/efi/efinet.c
include/grub/efi/api.h