diff options
| author | Bernard Metzler <[email protected]> | 2019-08-28 13:03:55 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2019-08-28 14:29:19 +0000 |
| commit | 531a64e4c35bb9844b0cf813a6c9a87e00be05ff (patch) | |
| tree | 3092801e59838ad729c914673ad968f6e2a8fdf3 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | RDMA/siw: Fix 64/32bit pointer inconsistency (diff) | |
| download | kernel-531a64e4c35bb9844b0cf813a6c9a87e00be05ff.tar.gz kernel-531a64e4c35bb9844b0cf813a6c9a87e00be05ff.zip | |
RDMA/siw: Fix IPv6 addr_list locking
Walking the address list of an inet6_dev requires
appropriate locking. Since the called function
siw_listen_address() may sleep, we have to use
rtnl_lock() instead of read_lock_bh().
Also introduces sanity checks if we got a device
from in_dev_get() or in6_dev_get().
Reported-by: Bart Van Assche <[email protected]>
Fixes: 6c52fdc244b5 ("rdma/siw: connection management")
Signed-off-by: Bernard Metzler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
