From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steffen Klassert Subject: Re: ipv6: oops in datagram.c line 260 Date: Wed, 7 Jan 2015 08:22:54 +0100 Message-ID: <20150107072254.GA13046@secunet.com> References: <5487DD65.60800@gtsys.com.hk> <549AC2B4.8070203@gtsys.com.hk> <1420560073.32369.60.camel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Chris Ruehl , , To: Hannes Frederic Sowa Return-path: Received: from a.mx.secunet.com ([195.81.216.161]:47083 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbbAGHXD (ORCPT ); Wed, 7 Jan 2015 02:23:03 -0500 Content-Disposition: inline In-Reply-To: <1420560073.32369.60.camel@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Jan 06, 2015 at 05:01:13PM +0100, Hannes Frederic Sowa wrote: > > xfrm6_output_finish unconditionally resets skb->protocol so we try to > dispatch to the IPv6 handler, even though tcp just sends an IPv4 packet. Maybe we better dispatch based on sk->sk_family, this should give always the right address family of the socket.