]> Git Repo - linux.git/commit
xen-netfront: use __pskb_pull_tail to ensure linear area is big enough on RX
authorIan Campbell <[email protected]>
Wed, 22 Aug 2012 00:26:47 +0000 (00:26 +0000)
committerDavid S. Miller <[email protected]>
Thu, 30 Aug 2012 16:24:04 +0000 (12:24 -0400)
commit3683243b2c551e58082b179fd153c7d43ddc503b
tree6e17dc053bb49af826f9b4a00293f717833dad5b
parent072a9c48600409d72aeb0d5b29fbb75861a06631
xen-netfront: use __pskb_pull_tail to ensure linear area is big enough on RX

I'm slightly concerned by the "only in exceptional circumstances"
comment on __pskb_pull_tail but the structure of an skb just created
by netfront shouldn't hit any of the especially slow cases.

This approach still does slightly more work than the old way, since if
we pull up the entire first frag we now have to shuffle everything
down where before we just received into the right place in the first
place.

Signed-off-by: Ian Campbell <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Tested-by: Konrad Rzeszutek Wilk <[email protected]>
Acked-by: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/xen-netfront.c
This page took 0.055094 seconds and 4 git commands to generate.