]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sky2: fix VLAN receive processing
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 28 Sep 2007 16:48:13 +0000 (09:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 10 Oct 2007 17:50:15 +0000 (10:50 -0700)
commitdc8a4bca289e51866f01a41a29793199cd0e28f0
treefebaf41cc416b806b149f9d72d38064400c8e633
parent294bb426fa9eae8fc3af3759787b7b92107fc2ce
sky2: fix VLAN receive processing

Already upstream.

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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sky2.c