Переглянути джерело

Document memory ownership.

tags/v0.9.3
Michael Brown 18 роки тому
джерело
коміт
764cb41456
1 змінених файлів з 5 додано та 0 видалено
  1. 5
    0
      src/net/udp/dhcp.c

+ 5
- 0
src/net/udp/dhcp.c Переглянути файл

@@ -650,6 +650,11 @@ static struct udp_operations dhcp_udp_operations = {
650 650
  *
651 651
  * @v dhcp		DHCP session
652 652
  * @ret aop		Asynchronous operation
653
+ *
654
+ * If the DHCP operation completes successfully, the
655
+ * dhcp_session::options field will be filled in with the resulting
656
+ * options block.  The caller takes responsibility for eventually
657
+ * calling free_dhcp_options().
653 658
  */
654 659
 struct async_operation * start_dhcp ( struct dhcp_session *dhcp ) {
655 660
 	int rc;

Завантаження…
Відмінити
Зберегти