Re: SiS 191 failure with MTU > 1496

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pascal Terjan
Date: Tuesday, June 2, 2009 - 7:14 am

Le mardi 02 juin 2009 à 13:50 +0200, Pascal Terjan a écrit :

By the way there is some strange code:

tp->rx_buf_sz = (mtu > RX_BUF_SIZE) ? mtu + ETH_HLEN + 8 : RX_BUF_SIZE;

Isn't there a (different from the one I'm interested in :) ) bug when
1500 < mtu <= RX_BUF_SIZE

Shouldn't the test be (mtu > ETH_DATA_LEN) ?

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
SiS 191 failure with MTU &gt; 1496, Pascal Terjan, (Fri May 29, 9:44 am)
Re: SiS 191 failure with MTU &gt; 1496, Pascal Terjan, (Fri May 29, 9:50 am)
Re: SiS 191 failure with MTU &gt; 1496, Pascal Terjan, (Fri May 29, 10:00 am)
Re: SiS 191 failure with MTU &gt; 1496, Francois Romieu, (Fri May 29, 3:30 pm)
Re: SiS 191 failure with MTU &gt; 1496, Pascal Terjan, (Tue Jun 2, 4:50 am)
Re: SiS 191 failure with MTU > 1496, Pascal Terjan, (Tue Jun 2, 7:14 am)