There is race condition between the bus bandwidth work and cleaning up an adapter. Under some conditions, it is possible for the bus bandwidth work to access a paritally destroyed adapter, leading to a use-after-free. To prevent the race condition, use the following sequence: 1) Stop the bandwidth timer 2) Flush pending bandwidth work 3) Cleanup the adapter 4) Restart the bandwidth timer, if needed Change-Id: I7166e75e65433d2dcb818ff8b41fe959c510a2e9 CRs-Fixed: 2025184 |
||
---|---|---|
.. | ||
inc | ||
src |