|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] patch fix-PKT_PROT_LEN
---
drivers/xen/netback/netback.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/xen/netback/netback.c b/drivers/xen/netback/netback.c
index c448675..1a4a20e 100644
--- a/drivers/xen/netback/netback.c
+++ b/drivers/xen/netback/netback.c
@@ -128,7 +128,7 @@ static inline int netif_get_page_ext(struct page *pg,
unsigned int *_group, unsi
* packet processing on them (netfilter, routing, etc). 72 is enough
* to cover TCP+IP headers including options.
*/
-#define PKT_PROT_LEN 72
+#define PKT_PROT_LEN (ETH_HLEN + 4 + (15 * 4) + (15 * 4))
static inline pending_ring_idx_t pending_index(unsigned i)
{
--
1.5.6.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] patch fix-PKT_PROT_LEN,
Paul Durrant <=
|
|
|
|
|