Subject: Re: [PATCH] net: sh_eth: fix skb_over_panic happen

From: "Shimoda, Yoshihiro" <[email-masked]>
Date: Tue, 07 Feb 2012 17:35:52 +0900

Hi Eric,

2012/02/07 16:55, Eric Dumazet wrote:
> Le mardi 07 février 2012 à 15:54 +0900, Shimoda, Yoshihiro a écrit :
[ snip ]
>> diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
>> index 813d41c..9e899b0 100644
>> --- a/drivers/net/ethernet/renesas/sh_eth.c
>> +++ b/drivers/net/ethernet/renesas/sh_eth.c
>> @@ -817,7 +817,7 @@ static int sh_eth_dev_init(struct net_device *ndev)
>>  		sh_eth_write(ndev, 0, TRIMD);
>>
>>  	/* Recv frame limit set register */
>> -	sh_eth_write(ndev, RFLR_VALUE, RFLR);
>> +	sh_eth_write(ndev, ndev->mtu + ETH_HLEN + ETH_FCS_LEN, RFLR);
>>
> 
> No VLAN_HDR ?
> 

Thank you for your point.
I forgot care of VLAN. I will add "+ VLAN_HLEN" and submit a patch.

Best regards,
Yoshihiro Shimoda