diff options
author | Simon Graham <simon.graham@citrix.com> | 2012-05-24 08:26:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-24 22:22:53 +0200 |
commit | e26b203ede31fffd52571a5ba607a26c79dc5c0d (patch) | |
tree | d9eadc591e5a562122900058cc1e90ef430e1855 /Documentation/vgaarbiter.txt | |
parent | solos-pci: Fix DMA support (diff) | |
download | linux-e26b203ede31fffd52571a5ba607a26c79dc5c0d.tar.xz linux-e26b203ede31fffd52571a5ba607a26c79dc5c0d.zip |
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>
Diffstat (limited to 'Documentation/vgaarbiter.txt')
0 files changed, 0 insertions, 0 deletions