qlge: Fix receive path to drop error frames
authorSritej Velaga <sritej.velaga@qlogic.com>
Thu, 18 Apr 2013 19:49:52 +0000 (19:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2013 21:53:56 +0000 (17:53 -0400)
commitae721f3ab0d9234219edbc7858cf9c5ceda42df2
tree4c102e3b0e2c3512515fe5c9164e140d92291e22
parentb79d4a8dfd1b3a8387788b070ac2f856fb3a0877
qlge: Fix receive path to drop error frames

o Fix the driver to drop error frames in the receive path
o Update error counter which was not getting incremented

Signed-off-by: Sritej Velaga <sritej.velaga@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c