Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276222
b: refs/heads/master
c: 685f94e
h: refs/heads/master
v: v3
  • Loading branch information
Jun Zhao authored and David S. Miller committed Nov 23, 2011
1 parent 8e8eeef commit 3a3eae4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d0fe50c75a547088e4304e5eb5f521514dfae46
refs/heads/master: 685f94e6db8496399c881218018166515445a914
3 changes: 2 additions & 1 deletion trunk/net/ipv4/igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,8 @@ static int ip_mc_add_src(struct in_device *in_dev, __be32 *pmca, int sfmode,
if (err) {
int j;

pmc->sfcount[sfmode]--;
if (!delta)
pmc->sfcount[sfmode]--;
for (j=0; j<i; j++)
(void) ip_mc_del1_src(pmc, sfmode, &psfsrc[j]);
} else if (isexclude != (pmc->sfcount[MCAST_EXCLUDE] != 0)) {
Expand Down

0 comments on commit 3a3eae4

Please sign in to comment.