Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753932AbaK0Dxy (ORCPT ); Wed, 26 Nov 2014 22:53:54 -0500 Received: from mail-ob0-f177.google.com ([209.85.214.177]:62930 "EHLO mail-ob0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753452AbaK0Dxw (ORCPT ); Wed, 26 Nov 2014 22:53:52 -0500 Date: Wed, 26 Nov 2014 21:53:50 -0600 From: Seth Forshee To: David Miller Cc: konrad.wilk@oracle.com, boris.ostrovsky@oracle.com, david.vrabel@citrix.com, zoltan.kiss@linaro.org, eric.dumazet@gmail.com, stefan.bader@canonical.com, xen-devel@lists.xenproject.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xen-netfront: Remove BUGs on paged skb data which crosses a page boundary Message-ID: <20141127035350.GA10833@ubuntu-mba51> References: <1416968904-70874-1-git-send-email-seth.forshee@canonical.com> <20141126.122812.223757363894961994.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141126.122812.223757363894961994.davem@davemloft.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 26, 2014 at 12:28:12PM -0500, David Miller wrote: > From: Seth Forshee > Date: Tue, 25 Nov 2014 20:28:24 -0600 > > > These BUGs can be erroneously triggered by frags which refer to > > tail pages within a compound page. The data in these pages may > > overrun the hardware page while still being contained within the > > compound page, but since compound_order() evaluates to 0 for tail > > pages the assertion fails. The code already iterates through > > subsequent pages correctly in this scenario, so the BUGs are > > unnecessary and can be removed. > > > > Fixes: f36c374782e4 ("xen/netfront: handle compound page fragments on transmit") > > Cc: # 3.7+ > > Signed-off-by: Seth Forshee > > Can I get some Xen developer reviews? Fwiw this issue was discussed previously and this was the recommended fix. http://article.gmane.org/gmane.linux.kernel/1825381 Since then I got some feedback from a tester that he didn't see any problems with the BUGs removed (actually replaced with a WARN so I know that he actually saw the condition which triggered the BUG). Thanks, Seth -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/