]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: fix rx-path to ignore a flush completion
authorSathya Perla <sathyap@serverengines.com>
Wed, 17 Feb 2010 01:35:26 +0000 (01:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:35:39 +0000 (13:35 -0800)
commit679bf031194e07ab7a071af721baed125febf7d2
tree1f3f40831ff18d40200bb8ff808d87ab5dbe9f48
parent30da6a4374f4e1e186f8720d4e790f0cde911e5f
be2net: fix rx-path to ignore a flush completion

The flush compl (compl with numfrags == 0; no data) is rcvd
from hw to indicate completion of RXQ destory operation. Fix
the RX path to not process it as RX data.

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c