• David Howells's avatar
    afs: Properly reset afs_vnode (inode) fields · f8de483e
    David Howells authored
    When an AFS inode is allocated by afs_alloc_inode(), the allocated
    afs_vnode struct isn't necessarily reset from the last time it was used as
    an inode because the slab constructor is only invoked once when the memory
    is obtained from the page allocator.
    
    This means that information can leak from one inode to the next because
    we're not calling kmem_cache_zalloc().  Some of the information isn't
    reset, in particular the permit cache pointer.
    
    Bring the clearances up to date.
    Signed-off-by: 's avatarDavid Howells <dhowells@redhat.com>
    Tested-by: 's avatarMarc Dionne <marc.dionne@auristor.com>
    f8de483e
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
addr_list.c Loading commit data...
afs.h Loading commit data...
afs_cm.h Loading commit data...
afs_fs.h Loading commit data...
afs_vl.h Loading commit data...
cache.c Loading commit data...
callback.c Loading commit data...
cell.c Loading commit data...
cmservice.c Loading commit data...
dir.c Loading commit data...
file.c Loading commit data...
flock.c Loading commit data...
fsclient.c Loading commit data...
inode.c Loading commit data...
internal.h Loading commit data...
main.c Loading commit data...
misc.c Loading commit data...
mntpt.c Loading commit data...
netdevices.c Loading commit data...
proc.c Loading commit data...
rotate.c Loading commit data...
rxrpc.c Loading commit data...
security.c Loading commit data...
server.c Loading commit data...
server_list.c Loading commit data...
super.c Loading commit data...
vlclient.c Loading commit data...
volume.c Loading commit data...
write.c Loading commit data...
xattr.c Loading commit data...