Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753261AbaKZR2P (ORCPT ); Wed, 26 Nov 2014 12:28:15 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:48898 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752213AbaKZR2O (ORCPT ); Wed, 26 Nov 2014 12:28:14 -0500 Date: Wed, 26 Nov 2014 12:28:12 -0500 (EST) Message-Id: <20141126.122812.223757363894961994.davem@davemloft.net> To: seth.forshee@canonical.com 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 From: David Miller In-Reply-To: <1416968904-70874-1-git-send-email-seth.forshee@canonical.com> References: <1416968904-70874-1-git-send-email-seth.forshee@canonical.com> X-Mailer: Mew version 6.6 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.7 (shards.monkeyblade.net [149.20.54.216]); Wed, 26 Nov 2014 09:28:14 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks. -- 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/