be2net: Fix early reset of rx-completion
authorSathya Perla <sathyap@serverengines.com>
Wed, 10 Jun 2009 02:23:28 +0000 (02:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2009 09:47:18 +0000 (02:47 -0700)
commita7a0ef31def6b6badd94fc96c8f17c2e18d91513
tree92fe215db7404bf3c112ddc4ea371d849338408e
parent76fbb42919396b9bf68c9a03ceb037c971a02e2f
be2net: Fix early reset of rx-completion

be_rx_compl_get() must not reset(via the valid word) the rx_compl as the rx_compl is not processed yet; it must be reset after it is processed.

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