X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Figmp.c;h=b2ca095cb9dab36a4eb6e8da7308c4e55a6437cc;hb=53523d5263dce1a3e3662c612f7050a4569071ad;hp=c7472eff2d514b475579d1a3e5a89269d04fce0e;hpb=1dd6c0770d7d4ca477a1a8452ab0161b1150e4ad;p=pandora-kernel.git diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index c7472eff2d51..b2ca095cb9da 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c @@ -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; jsfcount[MCAST_EXCLUDE] != 0)) {