[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120524.162117.2167559109226305167.davem@davemloft.net>
Date: Thu, 24 May 2012 16:21:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: simon.graham@...rix.com
Cc: Ian.Campbell@...rix.com, konrad.wilk@...cle.com,
xen-devel@...ts.xensource.com, netdev@...r.kernel.org,
bhutchings@...arflare.com, adnan.misherfi@...cle.com
Subject: Re: [PATCH] xen/netback: Calculate the number of SKB slots
required correctly
From: Simon Graham <simon.graham@...rix.com>
Date: Thu, 24 May 2012 12:26:07 -0400
> When calculating the number of slots required for a packet header, the code
> was reserving too many slots if the header crossed a page boundary. Since
> netbk_gop_skb copies the header to the start of the page, the count of
> slots required for the header should be based solely on the header size.
>
> This problem is easy to reproduce if a VIF is bridged to a USB 3G modem
> device as the skb->data value always starts near the end of the first page.
>
> Signed-off-by: Simon Graham <simon.graham@...rix.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists