dhcpd problem on virtual machines

Alex Zeffertt alex.zeffertt at eu.citrix.com
Mon Jun 14 12:16:29 UTC 2010


On 11/06/10 17:56, David W. Hankins wrote:
> iv) Use extended packet information available on the AF_PACKET socket
>      on 'dhcpd' to determine not to validate checksums.
>
> We actually have a patch queued from one of the Linux distributions
> that performs this.  Of course, it's platform specific.
>

If that's possible that sounds great.  However, the PARTIAL flag is per skb
so I can't see how you could find out whether a specific packet requires 
checksumming by querying the socket....  I must have missed something :-)

The option to switch to reception via AF_INET sockets also works.  Presumably on 
the client you still need AF_PACKET in order to send a datagram with source IP 
0.0.0.0, but if everyone is using AF_INET for reception, then the partial 
checksum problem should go away.

Do you know when the fix is likely to make it into the source?

Regards,

Alex



More information about the dhcp-hackers mailing list