projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb81e8
)
ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src()
author
Jun Zhao
<mypopydev@gmail.com>
Wed, 30 Nov 2011 06:21:05 +0000
(06:21 +0000)
committer
David S. Miller
<davem@drr.davemloft.net>
Thu, 1 Dec 2011 04:10:02 +0000
(23:10 -0500)
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>
net/ipv6/mcast.c
patch
|
blob
|
history
diff --git
a/net/ipv6/mcast.c
b/net/ipv6/mcast.c
index 6cc4d1fb8c132fb680353d70cac47c17598c326b..518cbb90c44b95a7a60f15a3d736a2bcb22243be 100644
(file)
--- 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<sfcount; i++) {
- err = ip6_mc_add1_src(pmc, sfmode, &psfsrc[i]
, delta
);
+ err = ip6_mc_add1_src(pmc, sfmode, &psfsrc[i]);
if (err)
break;
}