diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2011-08-22 19:41:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-24 16:19:28 -0700 |
commit | 857c99059e441d0a8afdfa0bc687463e8e61a761 (patch) | |
tree | e625a4b0527c32cdbd22d9eb905be80149c8b085 /drivers/net/ethernet/hp | |
parent | ec5efe7946280d1e84603389a1030ccec0a767ae (diff) | |
download | lwn-857c99059e441d0a8afdfa0bc687463e8e61a761.tar.gz lwn-857c99059e441d0a8afdfa0bc687463e8e61a761.zip |
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 <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hp')
0 files changed, 0 insertions, 0 deletions