From: Juergen Gross Subject: Re: [PATCH] xen/netfront: tolerate frags with no data Date: Wed, 19 Dec 2018 07:02:52 +0100 Message-ID: <425ca7b2-de7b-0490-0f10-e64dce1a6e28@suse.com> References: <20181218150619.6964-1-jgross@suse.com> <20181218.220013.1743575331051422957.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, xen-devel@lists.xenproject.org, sstabellini@kernel.org, boris.ostrovsky@oracle.com, stable@vger.kernel.org To: David Miller Return-path: Received: from mx2.suse.de ([195.135.220.15]:50078 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728024AbeLSGCz (ORCPT ); Wed, 19 Dec 2018 01:02:55 -0500 In-Reply-To: <20181218.220013.1743575331051422957.davem@davemloft.net> Content-Language: de-DE Sender: netdev-owner@vger.kernel.org List-ID: On 19/12/2018 07:00, David Miller wrote: > From: Juergen Gross > Date: Tue, 18 Dec 2018 16:06:19 +0100 > >> At least old Xen net backends seem to send frags with no real data >> sometimes. In case such a fragment happens to occur with the frag limit >> already reached the frontend will BUG currently even if this situation >> is easily recoverable. >> >> Modify the BUG_ON() condition accordingly. >> >> Tested-by: Dietmar Hahn >> Signed-off-by: Juergen Gross > > Applied and queued up for -stable. > > But many of these BUG's in the driver should be converted to > WARNs and recovery code added. > Right, but that will be no stable material then. Will start that effort after Christmas. Juergen