diff --git a/[refs] b/[refs] index f4221c0f4547..ccd1b1f72dd0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bc1b69ed22a704fb1cc83d75b2eb46508a06c820 +refs/heads/master: eea553c21fbfa486978c82525ee8256239d4f921 diff --git a/trunk/net/ceph/ceph_common.c b/trunk/net/ceph/ceph_common.c index ee71ea26777a..1deb29af82fd 100644 --- a/trunk/net/ceph/ceph_common.c +++ b/trunk/net/ceph/ceph_common.c @@ -15,6 +15,8 @@ #include #include #include +#include +#include #include @@ -292,6 +294,9 @@ ceph_parse_options(char *options, const char *dev_name, int err = -ENOMEM; substring_t argstr[MAX_OPT_ARGS]; + if (current->nsproxy->net_ns != &init_net) + return ERR_PTR(-EINVAL); + opt = kzalloc(sizeof(*opt), GFP_KERNEL); if (!opt) return ERR_PTR(-ENOMEM);