<div dir="ltr">Yes,see ! <div>My container version are squeeze and wheezy so dhclient should not apply this <div>patch to do UDP checksummng. I have reconfigured the LXC network setting </div></div><div>by static IPs so that it won't use dhclient.</div><div><br></div><div>Does the latest version dhclient apply this patch if I install it by source code?</div><div><br></div><div>- Jason Lee </div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-21 1:14 GMT+08:00 Tycho Andersen <span dir="ltr"><<a href="mailto:tycho.andersen@canonical.com" target="_blank">tycho.andersen@canonical.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Oct 19, 2015 at 09:23:57AM -0600, Tycho Andersen wrote:<br>
> On Mon, Oct 19, 2015 at 05:12:22PM +0800, Jason Lee wrote:<br>
> ><br>
> > dhclient maybe use SOCK_PACKET to acquire IP address. When I kill this<br>
> > process, CRIU works well !<br>
><br>
> It looks like ubuntu has a patch on dhclient<br>
> ("udp_checksum_offloading") which switches SOCK_PACKET to SOCK_RAW. As<br>
> near as I can tell this is the only place in the code base where it's<br>
> using SOCK_PACKET, so ubuntu's dhclient won't make sockets of this<br>
> type, which is why I've not seen this before. I've asked the guy who<br>
> applied the patch how long we'll carry it, but he's on vacation this<br>
> week. If he says we'll drop it soon, I'll see about adding SOCK_PACKET<br>
> support.<br>
<br>
</span>So it seems we will not be dropping this patch any time soon; on veth<br>
devices the kernel doesn't do UDP checksumming, so we need this patch<br>
in dhclient to fill the checksum in in userspace so it behaves<br>
correctly. Your best bet may be to get this patch into debian, since<br>
presumably they have the same issue as well.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tycho<br>
</font></span></blockquote></div><br></div>