Date: Sat, 4 Jul 2009 21:18:12 GMT From: Gabor Pali <pgj@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 165611 for review Message-ID: <200907042118.n64LICrf039973@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165611 Change 165611 by pgj@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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907042118.n64LICrf039973>