[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100104.224218.35346973.davem@davemloft.net>
Date: Mon, 04 Jan 2010 22:42:18 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: rakesh@...lsio.com
Cc: michaelc@...wisc.edu, open-iscsi@...glegroups.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
James.Bottomley@...e.de, kxie@...lsio.com
Subject: Re: [RFC-PATCH] libiscsi dhcp handler
From: Rakesh Ranjan <rakesh@...lsio.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists