diff options
author | Malli Chilakala <mallikarjuna.chilakala@intel.com> | 2005-08-25 16:05:41 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-25 16:18:32 -0400 |
commit | 136df52d532af9c19e5cd0e43a54ea4ee2d934fc (patch) | |
tree | 104e7d162e5f85d3113946fd54c0ccb48e517da1 /drivers/net/e100.c | |
parent | 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf (diff) |
[PATCH] e100: Do not check Rx packet length against mtu
Do not check Rx packet length against mtu - patch from Darren Tucker
Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/e100.c')
-rw-r--r-- | drivers/net/e100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c index d0fa2448761d..bff135457928 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c | |||
@@ -1539,7 +1539,7 @@ static inline int e100_rx_indicate(struct nic *nic, struct rx *rx, | |||
1539 | /* Don't indicate if hardware indicates errors */ | 1539 | /* Don't indicate if hardware indicates errors */ |
1540 | nic->net_stats.rx_dropped++; | 1540 | nic->net_stats.rx_dropped++; |
1541 | dev_kfree_skb_any(skb); | 1541 | dev_kfree_skb_any(skb); |
1542 | } else if(actual_size > nic->netdev->mtu + VLAN_ETH_HLEN) { | 1542 | } else if(actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN) { |
1543 | /* Don't indicate oversized frames */ | 1543 | /* Don't indicate oversized frames */ |
1544 | nic->rx_over_length_errors++; | 1544 | nic->rx_over_length_errors++; |
1545 | nic->net_stats.rx_dropped++; | 1545 | nic->net_stats.rx_dropped++; |