summaryrefslogtreecommitdiffstats
path: root/Documentation/input/index.rst
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-03-26 16:24:07 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2020-03-27 00:04:29 +0100
commit9efcc4a129363187c9bf15338692f107c5c9b6f0 (patch)
tree94886b6871d4522d3df83c3779c63d79149b2cbc /Documentation/input/index.rst
parentMerge tag 'ceph-for-5.6-rc8' of git://github.com/ceph/ceph-client (diff)
downloadlinux-9efcc4a129363187c9bf15338692f107c5c9b6f0.tar.xz
linux-9efcc4a129363187c9bf15338692f107c5c9b6f0.zip
afs: Fix unpinned address list during probing
When it's probing all of a fileserver's interfaces to find which one is best to use, afs_do_probe_fileserver() takes a lock on the server record and notes the pointer to the address list. It doesn't, however, pin the address list, so as soon as it drops the lock, there's nothing to stop the address list from being freed under us. Fix this by taking a ref on the address list inside the locked section and dropping it at the end of the function. Fixes: 3bf0fb6f33dd ("afs: Probe multiple fileservers simultaneously") Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/input/index.rst')
0 files changed, 0 insertions, 0 deletions