[PATCH] NFSv4: rpc_mkpipe creating socket inodes w/out sk buffers.
Steve Dickson
SteveD at redhat.com
Wed Sep 6 11:51:21 EDT 2006
rpc_mkpipe sets the S_IFSOCK mode bit when it creates a
inode but does not create a true socket inode. So when other parts
of the kernel (i.e. the SELinux code in the-mm kernel) use
S_ISSOCK() to see if the inode is a socket, the macro returns true,
but the expected socket inode container structure is really
an rpc_inode container which obviously causes problems...
This patch simply change the S_IFSOCK mode bit to
S_IFIFO which eliminates the problem.
steved.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nfs-2.6-rpc-mkpipe.patch
Type: text/x-patch
Size: 858 bytes
Desc: not available
Url : http://linux-nfs.org/pipermail/nfsv4/attachments/20060906/8b247ed6/nfs-2.6-rpc-mkpipe.bin
More information about the NFSv4
mailing list