grub/grub-core
Andrei Borzenkov 49426e9fd2 efinet: open Simple Network Protocol exclusively
EDK2 network stack is based on Managed Network Protocol which is layered
on top of Simple Management Protocol and does background polling. This
polling races with grub for received (and probably trasmitted) packets
which causes either serious slowdown or complete failure to load files.

Open SNP device exclusively.  This destroys all child MNP instances and
stops background polling.

Exclusive open cannot be done when enumerating cards, as it would destroy
PXE information we need to autoconfigure interface; and it cannot be done
during autoconfiguration as we need to do it for non-PXE boot as well. So
move SNP open to card ->open method and add matching ->close to clean up.

Based on patch from Mark Salter <msalter@redhat.com>

Also-By: Mark Salter <msalter@redhat.com>
Closes: 41731
2015-05-07 20:37:17 +03:00
..
boot Remove libgcc dependency. 2015-03-03 20:50:37 +01:00
bus Fix canonicalize_file_name clash. 2015-03-04 01:00:19 +01:00
commands Add missing initializers to silence suprious warnings. 2015-03-27 14:44:41 +01:00
disk efidisk: move device path helpers in core for efinet 2015-05-07 20:37:16 +03:00
efiemu fix include loop on MinGW due to libintl.h pulling stdio.h 2014-01-18 21:22:57 +04:00
font Document intentional fallthroughs. 2015-01-27 17:17:58 +01:00
fs zfs: add missing NULL check and fix incorrect buffer overwrite 2015-05-03 18:57:32 +03:00
gdb With Apple assembly in .macro environvemnt you have to use $$ instead 2013-11-24 07:08:18 +01:00
gettext * grub-core/gettext/gettext.c (main_context), (secondary_context): 2013-11-07 01:01:47 +01:00
gfxmenu gfxmenu/theme_loader: Add missing allos error check. 2015-01-26 09:37:39 +01:00
gnulib update gnulib/argp-help.c to fix garbage in grub-mknetdir --help output 2015-03-05 20:19:47 +03:00
hello * grub-core/commands/gptsync.c: Fix typographic quoting. 2012-03-03 13:05:08 +01:00
hook * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic 2011-11-11 21:03:49 +01:00
io gzio: Optimize by removing division. 2015-02-26 22:10:09 +01:00
kern efidisk: move device path helpers in core for efinet 2015-05-07 20:37:16 +03:00
lib i386/relocator: Remove unused extern grub_relocator64_rip_addr 2015-05-07 18:00:47 +02:00
loader loader/linux: do not pad initrd with zeroes at the end 2015-05-07 20:24:24 +03:00
mmap * grub-core/mmap/i386/uppermem.c (lower_hook) [COREBOOT]: Ignore low 2014-02-28 09:50:47 +01:00
net efinet: open Simple Network Protocol exclusively 2015-05-07 20:37:17 +03:00
normal Add missing initializers to silence suprious warnings. 2015-03-27 14:44:41 +01:00
osdep getroot: include sys/mkdev.h for makedev 2015-04-13 19:52:28 +03:00
partmap core/partmap: rename 'sun' to avoid clash with predefined symbol 2015-04-13 19:49:15 +03:00
parttool * grub-core/net/http.c: Add TRANSLATORS comments. 2012-03-05 16:42:26 +01:00
script script/execute.c: fix memory leak. 2015-01-28 20:35:28 +03:00
term * grub-core/term/gfxterm.c: Avoid division by zero. 2015-01-21 17:42:13 +01:00
tests Remove libgcc dependency. 2015-03-03 20:50:37 +01:00
video jpeg: Optimise by replacing division with shifts. 2015-02-26 21:27:32 +01:00
gdb_grub.in * grub-core/gdb_grub.in: Fix overflow and wrong field. 2013-10-14 03:40:20 +02:00
genemuinit.sh use MODULE_FILES for genemuinit* instead of MOD_FILES 2014-01-18 23:15:40 +04:00
genemuinitheader.sh use MODULE_FILES for genemuinit* instead of MOD_FILES 2014-01-18 23:15:40 +04:00
genmod.sh.in * grub-core/genmod.sh.in: Strip before converting to ELF as strip 2013-12-16 13:18:48 +01:00
genmoddep.awk * grub-core/genmoddep.awk: Remove explicit getline < /dev/stdin. 2013-12-16 13:02:19 +01:00
gensyminfo.sh.in * grub-core/gensyminfo.sh.in: Handle the case of portable output 2013-11-11 23:05:53 +01:00
gensymlist.sh Make 'make check' work on emu. 2013-04-27 02:00:16 +02:00
gentrigtables.c * grub-core/gentrigtables.c: Make tables const. 2013-03-01 11:15:09 +01:00
gmodule.pl.in * grub-core/gmodule.pl.in: Accept newer binutils which output 2014-09-21 18:23:23 +02:00
gnulib-fix-null-deref.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-fix-width.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-no-abort.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-no-gets.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
Makefile.am Remove emu libusb support. 2015-03-03 20:59:36 +01:00
Makefile.core.def Makefile.core.def: Remove obsolete LDADD_KERNEL 2015-03-27 12:18:25 +01:00
modinfo.sh.in modinfo.sh.in: Add missing config variables. 2015-03-27 12:18:25 +01:00