grub/grub-core/net
Josef Bacik 4fe8e6d4a1 efinet: handle get_status() on buggy firmware properly
The EFI spec indicates that get_status() should return the address of the buffer
we passed into transmit to indicate the the buffer was transmitted.  However we
have boxes where the firmware returns some arbitrary address instead, which
makes grub think that we've not sent anything.  So since we have the SNP stuff
opened in exclusive mode just assume any non-NULL txbuf means that our transmit
occurred properly.  This makes grub able to do its networking stuff properly on
our broken firmware.  Thanks,

cc: Peter Jones <pjones@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
2015-08-09 16:37:26 +03:00
..
drivers efinet: handle get_status() on buggy firmware properly 2015-08-09 16:37:26 +03:00
arp.c net: trivial grub_cpu_to_XX_compile_time cleanup 2015-03-27 18:58:57 +03:00
bootp.c bootp: ignore gateway_ip (relay) field. 2015-05-17 22:38:30 +03:00
dns.c convert to, not from, CPU byte order in DNS receive function 2015-05-07 20:33:28 +03:00
ethernet.c Add gcc_struct to all packed structures when compiling with mingw. 2013-12-15 14:14:30 +01:00
http.c * grub-core/net/http.c: Fix bad free. 2013-04-12 20:17:53 +02:00
icmp.c arp, icmp: Fix handling in case of oversized or invalid packets. 2015-03-27 12:18:25 +01:00
icmp6.c net: trivial grub_cpu_to_XX_compile_time cleanup 2015-03-27 18:58:57 +03:00
ip.c net/ip: check result of grub_netbuff_push 2015-01-30 22:09:51 +03:00
net.c send router solicitation for ipv6 address autoconf v2 2014-11-28 20:21:34 +03:00
netbuff.c arp, icmp: Fix handling in case of oversized or invalid packets. 2015-03-27 12:18:25 +01:00
tcp.c fix double free in grub_net_recv_tcp_packet 2014-12-07 11:28:57 +03:00
tftp.c cleanup: grub_cpu_to_XXX_compile_time for constants 2014-09-22 20:47:10 +04:00
udp.c * grub-core/disk/ahci.c: Add needed explicit cast. 2013-08-21 21:02:14 +02:00