linux_old1/drivers/net/xen-netback
Simon Graham e26b203ede xen/netback: Calculate the number of SKB slots required correctly
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@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-24 16:22:53 -04:00
..
Makefile
common.h net: xen-netback: use API provided by xenbus module to map rings 2011-10-26 10:02:56 -04:00
interface.c xen-netback: make ops structs const 2012-01-05 13:23:00 -05:00
netback.c xen/netback: Calculate the number of SKB slots required correctly 2012-05-24 16:22:53 -04:00
xenbus.c Xen: consolidate and simplify struct xenbus_driver instantiation 2012-01-04 17:01:17 -05:00