It is conceivable that the process may terminate during the execution of step(). If nothing else holds a reference to the containing object, this would cause the object to be freed prior to returning from step(). Add a ref_get()/ref_put() around the call to ->step() to prevent this from happening. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
| 82 |
|
82 |
|
| 83 |
|
83 |
|
| 84 |
|
84 |
|
|
85 |
|
|
| 85 |
|
86 |
|
| 86 |
|
87 |
|
| 87 |
|
88 |
|
|
89 |
|
|
| 88 |
|
90 |
|
| 89 |
|
91 |
|
| 90 |
|
92 |
|