diff options
author | David S. Miller <davem@davemloft.net> | 2008-05-26 02:26:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-26 02:26:10 -0400 |
commit | 43154d08d6bb5c69aa0d0e3448fb348b4cd84e91 (patch) | |
tree | 176edb26aad2d33e8be36530b66b19d0603c4b1d /drivers/net/3c509.c | |
parent | 03194379a77b02df3404ec4848a50c6784e9a8a5 (diff) | |
parent | 289c79a4bd350e8a25065102563ad1a183d1b402 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/cpmac.c
net/mac80211/mlme.c
Diffstat (limited to 'drivers/net/3c509.c')
-rw-r--r-- | drivers/net/3c509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index e6c545fe5f58..fe6d84105e55 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c | |||
@@ -1063,7 +1063,6 @@ el3_rx(struct net_device *dev) | |||
1063 | struct sk_buff *skb; | 1063 | struct sk_buff *skb; |
1064 | 1064 | ||
1065 | skb = dev_alloc_skb(pkt_len+5); | 1065 | skb = dev_alloc_skb(pkt_len+5); |
1066 | dev->stats.rx_bytes += pkt_len; | ||
1067 | if (el3_debug > 4) | 1066 | if (el3_debug > 4) |
1068 | printk("Receiving packet size %d status %4.4x.\n", | 1067 | printk("Receiving packet size %d status %4.4x.\n", |
1069 | pkt_len, rx_status); | 1068 | pkt_len, rx_status); |
@@ -1078,6 +1077,7 @@ el3_rx(struct net_device *dev) | |||
1078 | skb->protocol = eth_type_trans(skb,dev); | 1077 | skb->protocol = eth_type_trans(skb,dev); |
1079 | netif_rx(skb); | 1078 | netif_rx(skb); |
1080 | dev->last_rx = jiffies; | 1079 | dev->last_rx = jiffies; |
1080 | dev->stats.rx_bytes += pkt_len; | ||
1081 | dev->stats.rx_packets++; | 1081 | dev->stats.rx_packets++; |
1082 | continue; | 1082 | continue; |
1083 | } | 1083 | } |