projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: replace continue with break to reduce unnecessary loop in xxx_xmarksources
[deliverable/linux.git]
/
net
/
ipv6
/
mcast.c
diff --git
a/net/ipv6/mcast.c
b/net/ipv6/mcast.c
index 16c33e308121da59c61629a13fa239dada189874..6264d8fd2a2d64808658b28d1e0a4b1f05ddaf85 100644
(file)
--- a/
net/ipv6/mcast.c
+++ b/
net/ipv6/mcast.c
@@
-1061,7
+1061,7
@@
static int mld_xmarksources(struct ifmcaddr6 *pmc, int nsrcs,
if (psf->sf_count[MCAST_INCLUDE] ||
pmc->mca_sfcount[MCAST_EXCLUDE] !=
psf->sf_count[MCAST_EXCLUDE])
-
continue
;
+
break
;
if (ipv6_addr_equal(&srcs[i], &psf->sf_addr)) {
scount++;
break;
This page took
0.031299 seconds
and
5
git commands to generate.