diff options
| author | Krzysztof Mazur <[email protected]> | 2012-11-06 23:16:57 +0100 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2012-11-28 00:36:48 +0000 |
| commit | ec809bd817dfa1905283468e4c813684ed4efe78 (patch) | |
| tree | 6e13787ae7a88c73316e91f02b8116cc93309752 /tools/perf/scripts/python/bin | |
| parent | ae088d663beebb3cad0e7abaac67ee61a7c578d5 (diff) | |
atm: add owner of push() callback to atmvcc
The atm is using atmvcc->push(vcc, NULL) callback to notify protocol
that vcc will be closed and protocol must detach from it. This callback
is usually used by protocol to decrement module usage count by module_put(),
but it leaves small window then module is still used after module_put().
Now the owner of push() callback is kept in atmvcc and
module_put(atmvcc->owner) is called after the protocol is detached from vcc.
Signed-off-by: Krzysztof Mazur <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Acked-by: Chas Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions