]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commit
xen/netback: Always pull through PKT_PROT_LEN bytes into the linear part of an skb
authorKeir Fraser <keir@xen.org>
Fri, 17 Dec 2010 16:40:58 +0000 (16:40 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 17 Dec 2010 16:40:58 +0000 (16:40 +0000)
commitcda31d73c6b0a341db5e8ce5f39430ba60fded79
treec900f7b89f2d144fee4d69a22665b9f5862017d3
parent5ac1660267325e9223ca8c7b60c0d798a41098aa
xen/netback: Always pull through PKT_PROT_LEN bytes into the linear part of an skb

Previously PKT_PROT_LEN would only have an effect on the first
fragment.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen/netback: try to pull a minimum of 72 bytes into the skb data area

... when receiving a packet into netback.  The previous number, 64,
tended to place a fragment boundary in the middle of the TCP header
options and led to unnecessary fragmentation in Windows <-> Windows
networking.

xen/netback: Re-define PKT_PROT_LEN to be bigger.

Re-define PKT_PROT_LEN to be big enough to handle maximal IPv4 and TCP
options and phrase the definition so that it's reasonably obvious
that's what it's for.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/netback/netback.c