Commit:     529d303e075aa6d988f30935b8995ffb382ad38e
Parent:     5c55c434917429f229a1bf43def97fd421f444c6
Author:     Stephen Hemminger <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 2 18:02:09 2007 -0700
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Oct 3 13:39:42 2007 -0400

    sky2: jumbo frame regression fix
    Remove unneeded check that caused problems with jumbo frame sizes.
    The check was recently added and is wrong.
    When using jumbo frames the sky2 driver does fragmentation, so
    rx_data_size is less than mtu.
    Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/net/sky2.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index 162489b..ea117fc 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -2163,9 +2163,6 @@ static struct sk_buff *sky2_receive(struct net_device 
        sky2->rx_next = (sky2->rx_next + 1) % sky2->rx_pending;
        prefetch(sky2->rx_ring + sky2->rx_next);
-       if (length < ETH_ZLEN || length > sky2->rx_data_size)
-               goto len_error;
        /* This chip has hardware problems that generates bogus status.
         * So do only marginal checking and expect higher level protocols
         * to handle crap frames.
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to