]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.git/commitdiff
[NETBACK] Try to pull a minimum of 72 bytes into the skb data area
authorSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:48 +0000 (12:55 +0100)
committerSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:48 +0000 (12:55 +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 d6ccd0a48bd967d2fd1ae4fbf0d754f0ff7e6edc..c4fa521881376f6f40520e797b79f955a0ffbad6 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;