* grub-core/net/drivers/ieee1275/ofnet.c: Don't attempt to send more
than buffer size.
This commit is contained in:
parent
a3d566d442
commit
b7d17a492f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-04-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/net/drivers/ieee1275/ofnet.c: Don't attempt to send more
|
||||
than buffer size.
|
||||
|
||||
2013-04-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Disable partmap check on i386-ieee1275 due to openfirmware issues.
|
||||
|
|
|
@ -79,7 +79,7 @@ send_card_buffer (struct grub_net_card *dev, struct grub_net_buff *pack)
|
|||
|
||||
grub_memcpy (dev->txbuf, pack->data, len);
|
||||
status = grub_ieee1275_write (data->handle, dev->txbuf,
|
||||
pack->tail - pack->data, &actual);
|
||||
len, &actual);
|
||||
|
||||
if (status)
|
||||
return grub_error (GRUB_ERR_IO, N_("couldn't send network packet"));
|
||||
|
|
Loading…
Reference in a new issue