]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.bak/.git/commitdiff
[NETBACK] Try to pull a minimum of 72 bytes into the skb data area
authorSteven Smith <ssmith@weybridge.uk.xensource.com>
Thu, 28 May 2009 10:54:20 +0000 (11:54 +0100)
committerSteven Smith <ssmith@weybridge.uk.xensource.com>
Thu, 28 May 2009 10:54:20 +0000 (11:54 +0100)
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.

Signed-off-by: Steven Smith <ssmith@xensource.com>
drivers/xen/netback/netback.c

index a17f166a19dc355f91e755f0b380ef419bf10b93..78e3cfbea26abedc64ae00b809cb1c8a3bce863a 100644 (file)
@@ -105,7 +105,7 @@ static inline int netif_page_index(struct page *pg)
        return idx;
 }
 
-#define PKT_PROT_LEN 64
+#define PKT_PROT_LEN 72
 
 static struct pending_tx_info {
        netif_tx_request_t req;