From: Dan Carpenter Date: Tue, 13 Mar 2012 17:18:48 +0000 (+0300) Subject: NFS: null dereference in dev_remove() X-Git-Tag: v3.4-rc1~123^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e138ead73f872559778bb0c326e795206f96d3ce;p=pandora-kernel.git NFS: null dereference in dev_remove() In commit 5ffaf85541 "NFS: replace global bl_wq with per-net one" we made "msg" a pointer instead of a struct stored in stack memory. But we forgot to change the memset() here so we're still clearing stack memory instead clearing the struct like we intended. It will lead to a kernel crash. Signed-off-by: Dan Carpenter Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed