commit | c5a889508203446c1abc1d670599b3a816841813 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Fri Aug 14 15:49:45 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 15 18:50:44 2009 -0700 |
tree | 9e03c5f9a1dd88bcf8e277cdabbde49f1a6ab3e3 | |
parent | a3059b12adae868c42629ecf058a94195ef1e958 [diff] |
bnx2: Use mutex on slow path cnic calls. The slow path calls to the cnic driver are sleepable calls so we cannot use rcu_read_lock(). Use mutex for these slow path calls instead. Signed-off-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>