summaryrefslogtreecommitdiffstats
path: root/fs/afs/cmservice.c
diff options
context:
space:
mode:
authorDavid Howells2018-05-18 12:46:15 +0200
committerDavid Howells2018-05-23 13:01:15 +0200
commit5b86d4ff5dce3271dff54119e06174dc22422903 (patch)
tree04916e2272e82554f18b8d442de0a14b9cf84558 /fs/afs/cmservice.c
parentafs: Mark afs_net::ws_cell as __rcu and set using rcu functions (diff)
downloadkernel-qcow2-linux-5b86d4ff5dce3271dff54119e06174dc22422903.tar.gz
kernel-qcow2-linux-5b86d4ff5dce3271dff54119e06174dc22422903.tar.xz
kernel-qcow2-linux-5b86d4ff5dce3271dff54119e06174dc22422903.zip
afs: Implement network namespacing
Implement network namespacing within AFS, but don't yet let mounts occur outside the init namespace. An additional patch will be required propagate the network namespace across automounts. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/cmservice.c')
-rw-r--r--fs/afs/cmservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c
index 357de908df3a..4c89b1f4c02b 100644
--- a/fs/afs/cmservice.c
+++ b/fs/afs/cmservice.c
@@ -550,7 +550,7 @@ static void SRXAFSCB_TellMeAboutYourself(struct work_struct *work)
nifs = 0;
ifs = kcalloc(32, sizeof(*ifs), GFP_KERNEL);
if (ifs) {
- nifs = afs_get_ipv4_interfaces(ifs, 32, false);
+ nifs = afs_get_ipv4_interfaces(call->net, ifs, 32, false);
if (nifs < 0) {
kfree(ifs);
ifs = NULL;