diff options
author | Junjiro R. Okajima <hooanon05@yahoo.co.jp> | 2008-12-02 10:31:46 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-26 14:27:09 -0700 |
commit | c0ac27236d86f07e1b24126bd7ee0eeb9008eaaf (patch) | |
tree | bfba51d2ad3f412fba9d71740e619145d6369972 /net/ipv6/udplite.c | |
parent | 3f955fe683ffdda7fd68e0b61779001cb9b50011 (diff) |
nfsd: fix vm overcommit crash fix #2
commit 1b79cd04fab80be61dcd2732e2423aafde9a4c1c upstream.
The previous patch from Alan Cox ("nfsd: fix vm overcommit crash",
commit 731572d39fcd3498702eda4600db4c43d51e0b26) fixed the problem where
knfsd crashes on exported shmemfs objects and strict overcommit is set.
But the patch forgot supporting the case when CONFIG_SECURITY is
disabled.
This patch copies a part of his fix which is mainly for detecting a bug
earlier.
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Junjiro R. Okajima <hooanon05@yahoo.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/ipv6/udplite.c')
0 files changed, 0 insertions, 0 deletions