From: Jun Zhao Date: Wed, 30 Nov 2011 06:21:05 +0000 (+0000) Subject: ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src() X-Git-Tag: v3.3-rc1~182^2~393 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99d2f47aa9d3ad40daa6ee0770e91b95b71082f0;p=platform%2Fkernel%2Flinux-exynos.git ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src() Need not to used 'delta' flag when add single-source to interface filter source list. Signed-off-by: Jun Zhao Signed-off-by: David S. Miller --- diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index 6cc4d1f..518cbb9 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @@ -1918,7 +1918,7 @@ static int ip6_mc_del_src(struct inet6_dev *idev, const struct in6_addr *pmca, * Add multicast single-source filter to the interface list */ static int ip6_mc_add1_src(struct ifmcaddr6 *pmc, int sfmode, - const struct in6_addr *psfsrc, int delta) + const struct in6_addr *psfsrc) { struct ip6_sf_list *psf, *psf_prev; @@ -2049,7 +2049,7 @@ static int ip6_mc_add_src(struct inet6_dev *idev, const struct in6_addr *pmca, pmc->mca_sfcount[sfmode]++; err = 0; for (i=0; i