commit | e138ead73f872559778bb0c326e795206f96d3ce | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Mar 13 20:18:48 2012 +0300 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Mar 13 15:33:08 2012 -0400 |
tree | e134947deaeae4e347297440a6fd6ebe7fefcc97 | |
parent | 9a3ba432330e504ac61ff0043dbdaba7cea0e35a [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>