cxgb3: fix premature page unmap
authorDivy Le Ray <divy@chelsio.com>
Tue, 17 Nov 2009 16:38:28 +0000 (16:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2009 13:11:14 +0000 (05:11 -0800)
commit70e3bb504ccfe6ba725ab120bdb516d205d834f9
tree901ee7ceb689f00d9fc899b45e1eefb1a238dcfe
parent4acc5a8eb42c3a5a7df570face5f03fb37fff349
cxgb3: fix premature page unmap

unmap Rx page only when guaranteed that this page won't be
used anymore to allocate rx page chunks.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/sge.c