diff options
| author | Paul E. McKenney <[email protected]> | 2020-12-08 21:45:49 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2021-01-22 23:24:16 +0000 |
| commit | b4b7914a6a73fc169fd1ce2fcd78a1d83d9528a9 (patch) | |
| tree | f11dec127204fc013b14c97745741b27e7141fb1 /net/bluetooth/hci_request.c | |
| parent | mm: Make mem_obj_dump() vmalloc() dumps include start and length (diff) | |
| download | kernel-b4b7914a6a73fc169fd1ce2fcd78a1d83d9528a9.tar.gz kernel-b4b7914a6a73fc169fd1ce2fcd78a1d83d9528a9.zip | |
rcu: Make call_rcu() print mem_dump_obj() info for double-freed callback
The debug-object double-free checks in __call_rcu() print out the
RCU callback function, which is usually sufficient to track down the
double free. However, all uses of things like queue_rcu_work() will
have the same RCU callback function (rcu_work_rcufn() in this case),
so a diagnostic message for a double queue_rcu_work() needs more than
just the callback function.
This commit therefore calls mem_dump_obj() to dump out any additional
available information on the double-freed callback.
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: <[email protected]>
Reported-by: Andrii Nakryiko <[email protected]>
Tested-by: Naresh Kamboju <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions
