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 <shemminger@linux-foundation.org> --- a/drivers/net/sky2.c 2007-10-02 17:56:31.000000000 -0700 +++ b/drivers/net/sky2.c 2007-10-02 17:58:56.000000000 -0700 @@ -2163,9 +2163,6 @@ static struct sk_buff *sky2_receive(stru 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. -
| Linus Torvalds | Re: [GIT]: Networking |
| Arjan van de Ven | [patch 1/3] LatencyTOP infrastructure patch |
| Greg Kroah-Hartman | [PATCH 023/196] MCP_UCB1200: Convert from class_device to device |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Wink Saville | Resolving conflicts |
| Junio C Hamano | Re: [PATCH] Teach git-gui to split hunks |
| Linus Torvalds | Re: kde.git is now online |
| Steffen Prohaska | [PATCH] cygwin: added fopen "b" and open O_BINARY to support cygwin's textmode |
| Almir Karic | Re: find -exec {} help |
| Richard Stallman | Real men don't attack straw men |
| Khalid Schofield | Configuring sendmail openbsd 4.2 |
| Timo Myyrä | Encrypting home partition |
| David Miller | [GIT]: Networking |
| Andi Kleen | [PATCH] Add a statistics counter for tx hash miss |
| David Miller | Re: [BUG] kernel BUG at net/core/dev.c:1328! |
| David Miller | Re: netif_schedule and mpc5200_fec |
