]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sky2: check drop truncated packets
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 16 Aug 2007 13:12:48 +0000 (09:12 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 23:23:25 +0000 (16:23 -0700)
commit8c07a8e30ba8a2e0831da4b134202598435f8358
tree1a090ed9c8707ed2b259b248da65907f77ec0cd6
parent36d644b90a9e71e03064c1a5f28a53551ec3b621
sky2: check drop truncated packets

Backport of commit 71749531f2d1954137a1a77422ef4ff29eb102dd

If packet larger than MTU is received, the driver uses hardware to
truncate the packet. Use the status registers to catch/drop them.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sky2.c