Home | History | Annotate | Download | only in bpf
History log of /src/tests/net/bpf/t_bpf.c
RevisionDateAuthorComments
 1.9  10-Sep-2022  rillig fix misspellings of 'available' and nearby typos
 1.8  09-Feb-2017  ozaki-r Add tests for several bpf ioctls
 1.7  01-Feb-2017  ozaki-r Add a test case for BIOCGBLEN and BIOCSBLEN
 1.6  13-Jan-2017  christos branches: 1.6.2;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.5  14-Aug-2012  alnsn branches: 1.5.14;
Add __RCSID and and make a couple of stylistic changes.
 1.4  13-Jan-2012  christos PR/44196 is now fixed, so don't expect a failure.
 1.3  18-Dec-2011  joerg Remove unused variable
 1.2  03-Jan-2011  christos branches: 1.2.6;
PR/44310: Alexander Nasonov: write to /dev/bpf truncates size_t to int
 1.1  06-Dec-2010  pooka Add an xfail test for the mbuf leak described in PR kern/44196.

This is yet another example of a simple test which would be much
trickier to execute against the host kernel. You would either need
to put networking in a complete lockdown, or do some "statistical"
methods where you trigger the bug many many times and attempt to
ascertain a rising trend in mbuf count. And, of course, the leaked
mbufs don't go away from the host kernel once the test ends. In
contrast, we *know* that there is no other networking activity in
a rump kernel, so we can execute the operation exactly once, plus
the leaked mbuf "disappears" when the test is done.
 1.2.6.2  30-Oct-2012  yamt sync with head
 1.2.6.1  17-Apr-2012  yamt sync with head
 1.5.14.1  20-Mar-2017  pgoyette Sync with HEAD
 1.6.2.1  21-Apr-2017  bouyer Sync with HEAD

RSS XML Feed