All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: kvm@vger.kernel.org, Mark McLoughlin <markmc@redhat.com>,
	Rusty Russell <rusty@rustcorp.com.au>,
	Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: [PATCH] Work around dhclient brokenness
Date: Mon, 18 Aug 2008 13:56:57 +0300	[thread overview]
Message-ID: <48A95579.6080004@qumranet.com> (raw)
In-Reply-To: <1218829632-19037-1-git-send-email-aliguori@us.ibm.com>

Anthony Liguori wrote:
> With the latest GSO/csum offload patches, any guest using an unpatched version
> of dhclient (any Ubuntu guest, for instance), will no longer be able to get
> a DHCP address.
>
> dhclient is actually at fault here.  It uses AF_PACKET to receive DHCP responses
> but does not check auxdata to see if the packet has a valid csum.  This causes
> it to throw out the DHCP responses it gets from the virtio interface as there
> is not a valid checksum.
>
> Fedora has carried a patch to fix their dhclient (it's needed for Xen too) but
> this patch has not made it into a release of dhclient.  AFAIK, the patch is in
> the dhclient CVS but I cannot confirm since their CVS is not public.
>
> This patch, suggested by Rusty, looks for UDP packets (of a normal MTU) and
> explicitly adds a checksum to them if they are missing one.  We could further
> refine the search criteria based on srcport but that's probably unnecessary.
>
>   

Won't this slow down nfs/udp?  I think a srcport check would be good here.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2008-08-18 10:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 19:47 [PATCH] Work around dhclient brokenness Anthony Liguori
2008-08-18 10:56 ` Avi Kivity [this message]
2008-08-18 11:01   ` Herbert Xu
2008-08-18 11:06     ` Avi Kivity
2008-08-18 11:34       ` Herbert Xu
2008-08-18 11:40         ` Avi Kivity
2008-08-18 11:44           ` Herbert Xu
2008-08-18 12:15             ` Avi Kivity
2008-08-19  0:45             ` Rusty Russell
2008-08-19  3:17               ` Chris Wedgwood
2008-08-19  4:41                 ` Rusty Russell
2008-08-19  5:13                   ` Chris Wedgwood
2008-08-19  5:17                     ` Herbert Xu
2008-08-19  5:28                       ` Chris Wedgwood
2008-08-19  9:10                         ` Rusty Russell
2008-08-19 15:05                           ` Chris Wedgwood
2008-08-25  4:01                             ` Rusty Russell
2008-08-19  9:08                       ` Rusty Russell
2008-08-19  9:56                         ` Herbert Xu
2008-08-19 11:36                           ` Rusty Russell
2008-08-19 23:35                         ` Anthony Liguori
2008-08-19  9:12               ` Avi Kivity
2008-08-19 13:42                 ` Anthony Liguori
2008-08-19 13:50                   ` Avi Kivity
2008-08-19 13:54                     ` Anthony Liguori
2008-08-19 14:00                       ` Avi Kivity
2008-08-24  8:39 ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A95579.6080004@qumranet.com \
    --to=avi@qumranet.com \
    --cc=aliguori@us.ibm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kvm@vger.kernel.org \
    --cc=markmc@redhat.com \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.