Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: nick-nhusb-base-20160907
Revision 1.158 / (download) - annotate - [select for diffs], Thu May 12 02:24:17 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Changes since 1.157: +4 -4
lines
Diff to previous 1.157 (colored)
Protect ifnet list with psz and psref The change ensures that ifnet objects in the ifnet list aren't freed during list iterations by using pserialize(9) and psref(9). Note that the change adds a pslist(9) for ifnet but doesn't remove the original ifnet list (ifnet_list) to avoid breaking kvm(3) users. We shouldn't use the original list in the kernel anymore.