diff options
author | Jun Zhao <mypopydev@gmail.com> | 2011-11-30 01:21:05 -0500 |
---|---|---|
committer | David S. Miller <davem@drr.davemloft.net> | 2011-11-30 23:10:02 -0500 |
commit | 99d2f47aa9d3ad40daa6ee0770e91b95b71082f0 (patch) | |
tree | bf791483606ca6dee1a9d9d1de2456d462a77f62 /net/ipv6 | |
parent | 5eb81e89164a5cea31dbc2df37a33588d4466352 (diff) |
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 <mypopydev@gmail.com>
Signed-off-by: David S. Miller <davem@drr.davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/mcast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index 6cc4d1fb8c13..518cbb90c44b 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, | |||
1918 | * Add multicast single-source filter to the interface list | 1918 | * Add multicast single-source filter to the interface list |
1919 | */ | 1919 | */ |
1920 | static int ip6_mc_add1_src(struct ifmcaddr6 *pmc, int sfmode, | 1920 | static int ip6_mc_add1_src(struct ifmcaddr6 *pmc, int sfmode, |
1921 | const struct in6_addr *psfsrc, int delta) | 1921 | const struct in6_addr *psfsrc) |
1922 | { | 1922 | { |
1923 | struct ip6_sf_list *psf, *psf_prev; | 1923 | struct ip6_sf_list *psf, *psf_prev; |
1924 | 1924 | ||
@@ -2049,7 +2049,7 @@ static int ip6_mc_add_src(struct inet6_dev *idev, const struct in6_addr *pmca, | |||
2049 | pmc->mca_sfcount[sfmode]++; | 2049 | pmc->mca_sfcount[sfmode]++; |
2050 | err = 0; | 2050 | err = 0; |
2051 | for (i=0; i<sfcount; i++) { | 2051 | for (i=0; i<sfcount; i++) { |
2052 | err = ip6_mc_add1_src(pmc, sfmode, &psfsrc[i], delta); | 2052 | err = ip6_mc_add1_src(pmc, sfmode, &psfsrc[i]); |
2053 | if (err) | 2053 | if (err) |
2054 | break; | 2054 | break; |
2055 | } | 2055 | } |