[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <4AD89D9A.7090405@Sun.COM>
Date: Fri, 16 Oct 2009 09:21:46 -0700
From: Joyce Yu <Joyce.Yu@....COM>
To: netdev@...r.kernel.org
Subject: [Fwd: [PATCH] [NIU] VLAN does not work with niu driver]
Can this patch be accepted and integrated to the main tree?
Thanks,
Joyce
=============================
From eb878a6887fed77e6b4c69a014a2c98ea2b52736 Mon Sep 17 00:00:00 2001
From: Joyce Yu <joyce.yu@....com>
Date: Thu, 15 Oct 2009 06:49:29 -0700
Subject: [PATCH] VLAN does not work with niu driver
---
drivers/net/niu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index f9364d0..d6c7ac6 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -3545,7 +3545,7 @@ static int niu_process_rx_pkt(struct napi_struct
*napi, struct niu *np,
rp->rcr_index = index;
skb_reserve(skb, NET_IP_ALIGN);
- __pskb_pull_tail(skb, min(len, NIU_RXPULL_MAX));
+ __pskb_pull_tail(skb, min(len, VLAN_ETH_HLEN));
rp->rx_packets++;
rp->rx_bytes += skb->len;
-- 1.6.4
View attachment "0001-VLAN-does-not-work-with-niu-driver.patch" of type "text/x-patch" (729 bytes)
Powered by blists - more mailing lists