From: Sathya Perla Date: Mon, 22 Aug 2011 19:41:51 +0000 (+0000) Subject: be2net: Fix race in posting rx buffers. X-Git-Tag: v3.2-rc1~129^2~418 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=857c99059e441d0a8afdfa0bc687463e8e61a761;p=pandora-kernel.git be2net: Fix race in posting rx buffers. There is a possibility of be_post_rx_frags() being called simultaneously from both be_worker() (when rx_post_starved) and be_poll_rx() (when rxq->used is 0). This can be avoided by posting rx buffers only when some completions have been reaped. Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed