aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/Intel-IOMMU.txt
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-12-01 11:40:43 +0000
committerDavid Howells <dhowells@redhat.com>2017-12-01 11:51:24 +0000
commitf8de483e7440b0d23ce6372b3ef8358841c8827b (patch)
tree7c1f01841c8171313af72a3f378393f916493032 /Documentation/Intel-IOMMU.txt
parentafs: Fix permit refcounting (diff)
downloadlinux-dev-f8de483e7440b0d23ce6372b3ef8358841c8827b.tar.xz
linux-dev-f8de483e7440b0d23ce6372b3ef8358841c8827b.zip
afs: Properly reset afs_vnode (inode) fields
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: David Howells <dhowells@redhat.com> Tested-by: Marc Dionne <marc.dionne@auristor.com>
Diffstat (limited to 'Documentation/Intel-IOMMU.txt')
0 files changed, 0 insertions, 0 deletions