Messages in this thread | | | Date | Mon, 04 Jan 2010 22:42:18 -0800 (PST) | Subject | Re: [RFC-PATCH] libiscsi dhcp handler | From | David Miller <> |
| |
From: Rakesh Ranjan <rakesh@chelsio.com> Date: Mon, 16 Nov 2009 19:15:34 +0530
> + /* Construct UDP header */ > + udph = &pkt->udph; > + udph->source = htons(DHCPC_CLIENT_PORT); > + udph->dest = htons(DHCPC_SERVER_PORT); > + udph->len = htons(sizeof(struct dhcp_pkt) - sizeof(struct iphdr));
UDP checksum is not set, and is also not validated on receive.
| |