summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ipv6_sockglue.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-03-30 15:43:10 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2020-05-20 20:31:29 -0400
commitd59eb177c84f9572a6b51024c0b2611c3b5a27c5 (patch)
tree85cfcfc6347e30b2b15d6fa693a6ae001ad0b6c9 /net/ipv6/ipv6_sockglue.c
parent2e04172875c9daf929659eb5c3ef4b98fdf34396 (diff)
downloadlinux-stable-d59eb177c84f9572a6b51024c0b2611c3b5a27c5.tar.gz
linux-stable-d59eb177c84f9572a6b51024c0b2611c3b5a27c5.tar.bz2
linux-stable-d59eb177c84f9572a6b51024c0b2611c3b5a27c5.zip
ip6_mc_msfilter(): pass the address list separately
that way we'll be able to reuse it for compat case Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/ipv6/ipv6_sockglue.c')
-rw-r--r--net/ipv6/ipv6_sockglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ipv6_sockglue.c b/net/ipv6/ipv6_sockglue.c
index 0bbafe73bdde..7d3ecc0e69d1 100644
--- a/net/ipv6/ipv6_sockglue.c
+++ b/net/ipv6/ipv6_sockglue.c
@@ -780,7 +780,7 @@ done:
retv = -EINVAL;
break;
}
- retv = ip6_mc_msfilter(sk, gsf);
+ retv = ip6_mc_msfilter(sk, gsf, gsf->gf_slist);
kfree(gsf);
break;