netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src()
@ 2011-11-30 16:21 Jun Zhao
  2011-11-30 16:21 ` [PATCH 2/2] ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src() Jun Zhao
  2011-12-01  4:17 ` [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Jun Zhao @ 2011-11-30 16:21 UTC (permalink / raw)
  To: davem; +Cc: netdev, Jun Zhao

Need not to used 'delta' flag when add single-source to interface
filter source list.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
---
 net/ipv4/igmp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c
index 22c10b5..e6ed796 100644
--- a/net/ipv4/igmp.c
+++ b/net/ipv4/igmp.c
@@ -1574,7 +1574,7 @@ out_unlock:
  * 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;
 
@@ -1709,7 +1709,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;
 	}
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src()
  2011-11-30 16:21 [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() Jun Zhao
@ 2011-11-30 16:21 ` Jun Zhao
  2011-12-01  4:17   ` David Miller
  2011-12-01  4:17 ` [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() David Miller
  1 sibling, 1 reply; 4+ messages in thread
From: Jun Zhao @ 2011-11-30 16:21 UTC (permalink / raw)
  To: davem; +Cc: netdev, Jun Zhao

Need not to used 'delta' flag when add single-source to interface
filter source list.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
---
 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 ee7839f..933f4c9 100644
--- a/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -1914,7 +1914,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;
 
@@ -2045,7 +2045,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;
 	}
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src()
  2011-11-30 16:21 [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() Jun Zhao
  2011-11-30 16:21 ` [PATCH 2/2] ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src() Jun Zhao
@ 2011-12-01  4:17 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2011-12-01  4:17 UTC (permalink / raw)
  To: mypopydev; +Cc: netdev

From: Jun Zhao <mypopydev@gmail.com>
Date: Thu,  1 Dec 2011 00:21:04 +0800

> Need not to used 'delta' flag when add single-source to interface
> filter source list.
> 
> Signed-off-by: Jun Zhao <mypopydev@gmail.com>

Applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src()
  2011-11-30 16:21 ` [PATCH 2/2] ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src() Jun Zhao
@ 2011-12-01  4:17   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2011-12-01  4:17 UTC (permalink / raw)
  To: mypopydev; +Cc: netdev

From: Jun Zhao <mypopydev@gmail.com>
Date: Thu,  1 Dec 2011 00:21:05 +0800

> Need not to used 'delta' flag when add single-source to interface
> filter source list.
> 
> Signed-off-by: Jun Zhao <mypopydev@gmail.com>

Applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-01  4:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 16:21 [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() Jun Zhao
2011-11-30 16:21 ` [PATCH 2/2] ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src() Jun Zhao
2011-12-01  4:17   ` David Miller
2011-12-01  4:17 ` [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).