]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[retry] Hold reference while timer is running and during expiry callback
authorMichael Brown <mcb30@ipxe.org>
Thu, 2 Sep 2010 02:34:04 +0000 (03:34 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 3 Sep 2010 20:28:43 +0000 (21:28 +0100)
commit28934eef81b3c7a494b12cb87804098041d64659
treeda46f478f9977bca4c06f5e71dc37a0066948237
parent25447294d551bb93f63dd7e43e19b65e7c89e4db
[retry] Hold reference while timer is running and during expiry callback

Guarantee that a retry timer cannot go out of scope while the timer is
running, and provide a guarantee to the expiry callback that the timer
will remain in scope during the entire callback (similar to the
guarantee provided to interface methods).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/retry.h
src/net/aoe.c
src/net/infiniband/ib_mi.c
src/net/ipv4.c
src/net/retry.c
src/net/tcp.c
src/net/udp/dhcp.c
src/net/udp/dns.c
src/net/udp/slam.c
src/net/udp/tftp.c