forked from pool/grub2
48ba1a44e1
1 OBS-URL: https://build.opensuse.org/request/show/296732 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=113
14 lines
468 B
Diff
14 lines
468 B
Diff
Index: grub-2.02~beta2/grub-core/net/net.c
|
|
===================================================================
|
|
--- grub-2.02~beta2.orig/grub-core/net/net.c
|
|
+++ grub-2.02~beta2/grub-core/net/net.c
|
|
@@ -1453,7 +1453,7 @@ receive_packets (struct grub_net_card *c
|
|
}
|
|
card->opened = 1;
|
|
}
|
|
- while (1)
|
|
+ while (received < 100)
|
|
{
|
|
/* Maybe should be better have a fixed number of packets for each card
|
|
and just mark them as used and not used. */
|