]> git.proxmox.com Git - grub2.git/commit
net/dhcp: Introduce per-interface timeout
authorAndrei Borzenkov <arvidjaar@gmail.com>
Thu, 7 Mar 2019 15:14:12 +0000 (15:14 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 12 Mar 2019 19:04:07 +0000 (20:04 +0100)
commit12e1b6e604968feebf3dd7040ea905dc1ab41911
tree2841ca4606cc7c99fefaa12d7928b23df3d68443
parent5459243465e148d91a5c26c07520e699ed115446
net/dhcp: Introduce per-interface timeout

Currently we have a global timeout for all network cards in the BOOTP/DHCP
discovery process.

Make this timeout a per-interface one, so better accommodate the upcoming
4-way DHCP handshake and to also cover the lease time limit a DHCP offer
will come with.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/net/bootp.c
include/grub/net.h