xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] patch fix-PKT_PROT_LEN
@ 2010-12-14 17:37 Paul Durrant
  2010-12-14 17:38 ` [PATCH] patch fix-rx-packets-accounting Paul Durrant
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Durrant @ 2010-12-14 17:37 UTC (permalink / raw)
  To: xen-devel; +Cc: Paul Durrant

---
 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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-12-16 15:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 17:37 [PATCH] patch fix-PKT_PROT_LEN Paul Durrant
2010-12-14 17:38 ` [PATCH] patch fix-rx-packets-accounting Paul Durrant
2010-12-14 17:38   ` [PATCH] patch remove-timeout Paul Durrant
2010-12-14 17:38     ` [PATCH] patch fix-tx-work-todo Paul Durrant
2010-12-14 17:38       ` [PATCH] patch move-pending-tx-copy Paul Durrant
2010-12-15 15:45     ` [PATCH] patch remove-timeout Konrad Rzeszutek Wilk
2010-12-15 15:45   ` [PATCH] patch fix-rx-packets-accounting Konrad Rzeszutek Wilk
2010-12-16 11:37     ` Paul Durrant
2010-12-16 11:44       ` Ian Campbell
2010-12-16 11:49         ` Paul Durrant
2010-12-16 15:06           ` Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).