From: Tyler Hicks Date: Thu, 24 Jul 2008 04:30:04 +0000 (-0700) Subject: ecryptfs: discard ecryptfsd registration messages in miscdev X-Git-Tag: v2.6.27-rc1~649 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c4c17b073cd4a5a61bc04329561632870bb21fc;p=pandora-kernel.git ecryptfs: discard ecryptfsd registration messages in miscdev The userspace eCryptfs daemon sends HELO and QUIT messages to the kernel for per-user daemon (un)registration. These messages are required when netlink is used as the transport, but (un)registration is handled by opening and closing the device file when miscdev is the transport. These messages should be discarded in the miscdev transport so that a daemon isn't registered twice. Signed-off-by: Tyler Hicks Cc: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed