Date: Wed, 9 Aug 2006 16:30:26 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bpf.c Message-ID: <200608091630.k79GUQpN069250@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-08-09 16:30:26 UTC FreeBSD src repository Modified files: sys/net bpf.c Log: Since bpf_allocbufs() uses malloc() with M_WAITOK, don't check return values for NULL or return an error state. Assert that all three bpf buffer pointers are NULL before starting. MFC after: 1 week Revision Changes Path 1.172 +9 -16 src/sys/net/bpf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608091630.k79GUQpN069250>