diff options
author | Michael Chan <[email protected]> | 2010-12-23 07:42:57 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-12-23 11:44:28 -0800 |
commit | 8adc9240f98a816f7e9b3d93b9446a790110e062 (patch) | |
tree | ab3fbcfb3d29a9a3a1bbafd861a38f649d690e70 /net/lapb/lapb_in.c | |
parent | 9b09336072796378dac46df63bcd43291b24fd12 (diff) |
cnic: Prevent "scheduling while atomic" when calling ->cnic_init()
cnic_dev_list is protected by rtnl_lock and cnic_dev_lock spin_lock during
modifications. When looping on cnic_dev_list and calling ->cnic_init(),
we should just hold rtnl_lock since ->cnic_init() may sleep.
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions