Commit 5eb81e89 authored by Jun Zhao's avatar Jun Zhao Committed by David S. Miller

ipv4 : igmp : Delete useless parameter in ip_mc_add1_src()

Need not to used 'delta' flag when add single-source to interface
filter source list.
Signed-off-by: default avatarJun Zhao <mypopydev@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@drr.davemloft.net>
parent 32092ecf
......@@ -1579,7 +1579,7 @@ static int ip_mc_del_src(struct in_device *in_dev, __be32 *pmca, int sfmode,
* Add multicast single-source filter to the interface list
*/
static int ip_mc_add1_src(struct ip_mc_list *pmc, int sfmode,
__be32 *psfsrc, int delta)
__be32 *psfsrc)
{
struct ip_sf_list *psf, *psf_prev;
......@@ -1714,7 +1714,7 @@ static int ip_mc_add_src(struct in_device *in_dev, __be32 *pmca, int sfmode,
pmc->sfcount[sfmode]++;
err = 0;
for (i=0; i<sfcount; i++) {
err = ip_mc_add1_src(pmc, sfmode, &psfsrc[i], delta);
err = ip_mc_add1_src(pmc, sfmode, &psfsrc[i]);
if (err)
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment