sky2: fix VLAN receive processing (resend)
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 19 Sep 2007 22:36:42 +0000 (15:36 -0700)
committerJeff Garzik <jeff@garzik.org>
Thu, 20 Sep 2007 19:22:59 +0000 (15:22 -0400)
commitd6532232cd3de79c852685823a9c52f723816d0a
treeff6fc85a36020202709dfb915a60f6941585b9e7
parent680e9fe9d69ea86e81c859932bfd751be91cc0e0
sky2: fix VLAN receive processing (resend)

The length check for truncated frames was not correctly handling
the case where VLAN acceleration had already read the tag.
Also, the Yukon EX has some features that use high bit of status
as security tag.

Signed-off-by: Pierre-Yves Ritschard <pyr@spootnik.org>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c
drivers/net/sky2.h