From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Attempting to checksum a non-TCP/UDP packet, dropping a protocol 1 packet Date: Thu, 18 Apr 2013 19:19:39 +0300 Message-ID: <20130418161939.GP11427@reaktio.net> References: <516E749802000078000CDDE2@nat28.tlf.novell.com> <20130417162617.GM11427@reaktio.net> <516FC50E02000078000CE774@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <516FC50E02000078000CE774@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, Apr 18, 2013 at 09:03:58AM +0100, Jan Beulich wrote: > >>> On 17.04.13 at 18:26, Pasi K=E4rkk=E4inen wrote: > > On Wed, Apr 17, 2013 at 09:08:24AM +0100, Jan Beulich wrote: > >> in http://readlist.com/lists/lists.xensource.com/xen-users/10/50495.ht= ml = > >> you mention a netback fix without identifying which one. In going > >> over the changes as well as looking at the code, I can't spot > >> anything related, or see how non-TCP, non-UDP packets could > >> pass checksum_setup(), and hence I don't really understand how > >> this problem can be considered fixed (for, in the case here, ICMP, > >> the header of which does have a checksum field). > >> = > > = > > That's almost 3 years ago.. I wonder if it was this one: > > = > > "xen/netback: correctly setup skb->ip_summed on receive": > > http://git.kernel.org/cgit/linux/kernel/git/jeremy/xen.git/commit/?h=3D= xen/nex = > > t-2.6.32&id=3D7ec9d1e805338fd18bbce73e8c72e4d09da8f2d5 > > = > > That's at least in 2.6.32.13 in Jeremy's xen.git. > = > Yeah, that seemed the most likely one, but still not really related, > since there's nothing here affecting non-TCP, non-UDP packets. > I.e. it could only have an effect for such packets if there was a > false attempt to checksum them when no checksumming was > needed. > Ok. It's also possible it was already fixed in an earlier version, I have some vague memory of that.. so 2.6.32.12 or 2.6.32.11 in Jeremy's tr= ee. -- Pasi =