[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120327.173109.1316744556125544111.davem@davemloft.net>
Date: Tue, 27 Mar 2012 17:31:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: ciminaghi@...dd.com, adobriyan@...il.com, thomas@...3r.de,
mcuos.com@...il.com, lucas.demarchi@...fusion.mobi,
netdev@...r.kernel.org, raffaele.recalcati@...cino.it
Subject: Re: [PATCH] net/ethernet: ks8851_mll fix rx frame buffer overflow
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 27 Mar 2012 07:39:31 -0700
> Le mardi 27 mars 2012 à 15:01 +0200, Davide Ciminaghi a écrit :
>> @@ -40,7 +40,7 @@
>> #define DRV_NAME "ks8851_mll"
>>
>> static u8 KS_DEFAULT_MAC_ADDRESS[] = { 0x00, 0x10, 0xA1, 0x86, 0x95, 0x11 };
>> -#define MAX_RECV_FRAMES 32
>> +#define MAX_RECV_FRAMES 256
>> #define MAX_BUF_SIZE 2048
>> #define TX_BUF_SIZE 2000
>> #define RX_BUF_SIZE 2000
>
> How can this fix the problem for good ?
Indeed.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists