aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2021-12-14 09:22:12 +0000
committerLinus Torvalds <[email protected]>2021-12-16 09:10:13 -0800
commit1744a22ae948799da7927b53ec97ccc877ff9d61 (patch)
treebf839f57def63e2a6b5a9ca6d0c2e6719fdf5035 /net/lapb/lapb_timer.c
parent2b14864acbaaf03d9c01982e243a84632524c3ac (diff)
afs: Fix mmap
Fix afs_add_open_map() to check that the vnode isn't already on the list when it adds it. It's possible that afs_drop_open_mmap() decremented the cb_nr_mmap counter, but hadn't yet got into the locked section to remove it. Also vnode->cb_mmap_link should be initialised, so fix that too. Fixes: 6e0e99d58a65 ("afs: Fix mmap coherency vs 3rd-party changes") Reported-by: [email protected] Suggested-by: Marc Dionne <[email protected]> Signed-off-by: David Howells <[email protected]> Tested-by: [email protected] cc: [email protected] Link: https://lore.kernel.org/r/[email protected]/ # v1 Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions