]> git.baikalelectronics.ru Git - kernel.git/commit
pasemi_mac: Fix CRC checks
authorOlof Johansson <olof@lixom.net>
Wed, 7 Nov 2007 04:21:38 +0000 (22:21 -0600)
committerJeff Garzik <jeff@garzik.org>
Sat, 10 Nov 2007 09:25:14 +0000 (04:25 -0500)
commit65ef57bb6620042d9097be1134dced959895f8a9
tree395a2183a97bef80966c5fd5d731e7b3d8b761b7
parent0198eab79e02bb7aa456e551721c285b65cd0222
pasemi_mac: Fix CRC checks

Make sure we don't feed packets with bad CRC up the network stack,
and discount the packet length as reported from the MAC for the CRC
field.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c