From 764cb41456d4a66bb3ae809de48b289ab3367d61 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 20 Jul 2006 02:23:42 +0000 Subject: [PATCH] Document memory ownership. --- src/net/udp/dhcp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index 3a1951cf..466259ae 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -650,6 +650,11 @@ static struct udp_operations dhcp_udp_operations = { * * @v dhcp DHCP session * @ret aop Asynchronous operation + * + * If the DHCP operation completes successfully, the + * dhcp_session::options field will be filled in with the resulting + * options block. The caller takes responsibility for eventually + * calling free_dhcp_options(). */ struct async_operation * start_dhcp ( struct dhcp_session *dhcp ) { int rc;