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)
commit89420424fce28769c338909393518087befe8b37
tree1f3f40831ff18d40200bb8ff808d87ab5dbe9f48
parent7a1e9b2059d147461cff3dfbabbfb43f296a1eef
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