PERFORCE change 165611 for review
Gabor Pali
pgj at FreeBSD.org
Sat Jul 4 21:18:14 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=165611
Change 165611 by pgj at petymeg-current on 2009/07/04 21:17:53
Add a missed initialization of the listhead for traversal
Affected files ...
.. //depot/projects/soc2009/pgj_libstat/src/lib/libnetstat/netstat.c#39 edit
Differences ...
==== //depot/projects/soc2009/pgj_libstat/src/lib/libnetstat/netstat.c#39 (text+ko) ====
@@ -400,6 +400,7 @@
}
KREAD(off, &pcbinfo, sizeof(pcbinfo));
+ KREAD(pcbinfo.ipi_listhead, &listhead, sizeof(listhead));
LIST_FOREACH(inp, &listhead, inp_list) {
if (protocol == IPPROTO_TCP) {
KREAD(inp, &xt.xt_inp, sizeof(*inp));
More information about the p4-projects
mailing list