1. 16 Jan, 2016 1 commit
  2. 22 Sep, 2014 1 commit
  3. 21 Jan, 2014 1 commit
    • Paulo Flabiano Smorigo's avatar
      increase network try interval gradually · 6f65e36c
      Paulo Flabiano Smorigo authored
      * grub-core/net/arp.c (grub_net_arp_send_request): Increase network try
      interval gradually.
      * grub-core/net/icmp6.c (grub_net_icmp6_send_request): Likewise.
      * grub-core/net/net.c (grub_net_fs_read_real): Likewise.
      * grub-core/net/tftp.c (tftp_open): Likewise.
      * include/grub/net.h (GRUB_NET_INTERVAL_ADDITION): New define.
      6f65e36c
  4. 15 Dec, 2013 1 commit
  5. 27 Oct, 2013 1 commit
  6. 15 Aug, 2013 1 commit
  7. 02 Jul, 2012 1 commit
  8. 23 Jun, 2012 1 commit
  9. 22 Jun, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Implement flow control for tftp. · b27069e0
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/net/net.c (receive_packets): Decrease the stop to 10
      	packets but stop only if stop condition is satisfied.
      	(grub_net_fs_read_real): Call packets_pulled after real read. Use
      	`stall' instead of `eof' as stop condition.
      	* grub-core/net/http.c (parse_line): Set `stall' on EOF.
      	(http_err): Likewise.
      	* grub-core/net/tftp.c (ack): Replace the first argument with data
      	instead of socket.
      	(tftp_receive): Stall if too many packets are in wait queue.
      	(tftp_packets_pulled): New function.
      	(grub_tftp_protocol): Set packets_pulled.
      	* include/grub/net.h (grub_net_packets): New field count.
      	(grub_net_put_packet): Increment count.
      	(grub_net_remove_packet): Likewise.
      	(grub_net_app_protocol): New field `packets_pulled'.
      	(grub_net): New field `stall'.
      b27069e0
  10. 09 Jun, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Stop polling as soon as we have the packet we were waiting for. · 96f7e60e
      Vladimir 'phcoder' Serbinenko authored
      	* include/grub/net.h (grub_net_poll_cards): New argument stop_condition.
      	All users updated.
      	* grub-core/net/arp.c (have_pending): New var.
      	(pending_req): Likewise.
      	(grub_net_arp_send_request): Fill pending_req and use have_pending as
      	stop indicator.
      	(grub_net_arp_receive): Set have_pending.
      	* grub-core/net/dns.c (recv_data): New field stop.
      	(recv_hook): Set stop.
      	(grub_net_dns_lookup): Init stop and use as stop condition.
      	* grub-core/net/http.c (http_establish): Use headers_recv as stop
      	condition.
      	* grub-core/net/net.c (grub_net_poll_cards): New argument
      	stop_condition. Stop when it goes true.
      	* grub-core/net/tcp.c (grub_net_tcp_open): Use `established' as stop
      	indicator.
      	* grub-core/net/tftp.c (tftp_open): Use `have_oack' as stop indicator.
      96f7e60e
  11. 08 May, 2012 1 commit
    • Bean's avatar
      * grub-core/net/ip.c (reassemble): Make asm_buffer into asm_netbuff. · 5efb817d
      Bean authored
      	All users updated.
      	(free_rsm): Free header as well.
      	(free_old_fragments): Fix memory leak.
      	* grub-core/net/netbuff.c (grub_netbuff_free): Make return void.
      	* grub-core/net/tftp.c (tftp_receive): Fix memory leak.
      	(destroy_pq): Likewise.
      	* include/grub/net/netbuff.h (grub_netbuff_free): Make return void.
      5efb817d
  12. 12 Feb, 2012 1 commit
  13. 08 Feb, 2012 1 commit
  14. 05 Feb, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/kern/err.c (GRUB_MAX_ERRMSG): Move to ... · aca002f7
      Vladimir 'phcoder' Serbinenko authored
      	* include/grub/err.h (GRUB_MAX_ERRMSG): ... here.
      	* include/grub/err.h (grub_error_saved): New struct.
      	(grub_errmsg): Make array size explicit.
      	* include/grub/misc.h (grub_error_save): New function.
      	(grub_error_load): Likewise.
      	* grub-core/kern/err.c (grub_error_stack_items): Use grub_error_saved.
      	(grub_error_push): Update `errno' member name.
      	(grub_error_pop): Likewise
      	* grub-core/net/tftp.c (tftp_data): New member save_err.
      	(tftp_receive): Save error.
      	(tftp_open): Restore error.
      aca002f7
  15. 14 Jan, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Remove defines pertaining to arbitrary limits not affecting GRUB · 75b49ebe
      Vladimir 'phcoder' Serbinenko authored
      	anymore.
      
      	* grub-core/fs/ext2.c (EXT2_PATH_MAX): Removed.
      	(EXT2_MAX_SYMLINKCNT): Likewise.
      	* grub-core/fs/nilfs2.c (NILFS_BTREE_LEVEL_MAX): Likewise.
      	* grub-core/net/tftp.c (TFTP_MAX_PACKET): Likewise.
      	* include/grub/i386/pc/pxe.h (GRUB_PXE_MIN_BLKSIZE): Likewise.
      	(GRUB_PXE_MAX_BLKSIZE): Likewise.
      	* include/grub/normal.h (GRUB_MAX_CMDLINE): Likewise.
      	* include/grub/zfs/dnode.h (DN_MAX_INDBLKSHIFT): Likewise.
      	(DN_MAX_OBJECT_SHIFT): Likewise.
      	(DN_MAX_OFFSET_SHIFT): Likewise.
      	(DN_MAX_OBJECT): Likewise.
      	(DNODES_PER_LEVEL_SHIFT): Likewise.
      	* include/grub/zfs/spa.h (SPA_MAXBLOCKSHIFT): Likewise.
      	(SPA_MAXBLOCKSIZE): Likewise.
      	(SPA_BLOCKSIZES): Likewise.
      	* include/grub/zfs/zap_impl.h (MZAP_MAX_BLKSHIFT): Likewise.
      	(MZAP_MAX_BLKSZ): Likewise.
      75b49ebe
  16. 14 Oct, 2011 1 commit
  17. 06 Oct, 2011 1 commit
  18. 23 Jul, 2011 1 commit
  19. 10 Jul, 2011 1 commit
  20. 09 Jul, 2011 2 commits
  21. 08 Jul, 2011 1 commit
  22. 06 Jul, 2011 1 commit
  23. 03 Jul, 2011 1 commit
  24. 02 Jul, 2011 2 commits
  25. 26 Jun, 2011 1 commit
  26. 25 Jun, 2011 1 commit
  27. 19 Jun, 2011 1 commit
  28. 08 Jun, 2011 1 commit
  29. 07 Jun, 2011 1 commit
  30. 19 May, 2011 1 commit
  31. 13 May, 2011 1 commit
  32. 10 May, 2011 2 commits
  33. 01 Apr, 2011 1 commit
  34. 23 Sep, 2010 2 commits