From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Durrant Subject: [PATCH net v2 0/3] xen-netback: fix rx slot estimation Date: Thu, 27 Mar 2014 12:56:10 +0000 Message-ID: <1395924973-42904-1-git-send-email-paul.durrant__37481.4016199254$1395925097$gmane$org@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org, netdev@vger.kernel.org List-Id: xen-devel@lists.xenproject.org Sander Eikelenboom reported an issue with ring overflow in netback in 3.14-rc3. This turns outo be be because of a bug in the ring slot estimation code. This patch series fixes the slot estimation, fixes the BUG_ON() that was supposed to catch the issue that Sander ran into and also makes a small fix to start_new_rx_buffer(). v2: - Added BUG_ON() to patch #1 - Added more explanation to patch #3