patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
20 lines
666 B
Diff
20 lines
666 B
Diff
Index: sys/netinet/ip_mroute.c
|
|
===================================================================
|
|
--- sys/netinet/ip_mroute.c (revision 201431)
|
|
+++ sys/netinet/ip_mroute.c (working copy)
|
|
@@ -1384,6 +1384,15 @@ fail:
|
|
rt->mfc_rp.s_addr = INADDR_ANY;
|
|
rt->mfc_bw_meter = NULL;
|
|
|
|
+ /* initialize pkt counters per src-grp */
|
|
+ rt->mfc_pkt_cnt = 0;
|
|
+ rt->mfc_byte_cnt = 0;
|
|
+ rt->mfc_wrong_if = 0;
|
|
+ timevalclear(&rt->mfc_last_assert);
|
|
+
|
|
+ TAILQ_INIT(&rt->mfc_stall);
|
|
+ rt->mfc_nstall = 0;
|
|
+
|
|
/* link into table */
|
|
LIST_INSERT_HEAD(&mfchashtbl[hash], rt, mfc_hash);
|
|
TAILQ_INSERT_HEAD(&rt->mfc_stall, rte, rte_link);
|