Page MenuHomeFreeBSD

netpfil tests: Make divapp packet loop handling opt-in
ClosedPublic

Authored by igoro on Aug 21 2026, 11:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 17, 11:26 AM
Unknown Object (File)
Tue, Sep 15, 1:42 PM
Unknown Object (File)
Sat, Sep 12, 2:15 PM
Unknown Object (File)
Fri, Sep 11, 6:51 AM
Unknown Object (File)
Thu, Sep 10, 8:45 PM
Unknown Object (File)
Wed, Sep 9, 3:08 AM
Unknown Object (File)
Tue, Sep 8, 6:11 PM
Unknown Object (File)
Mon, Sep 7, 11:33 PM

Details

Summary

This generalizes the divapp logic and makes it usable for other test
scenarios such as diverted TCP connections.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added inline comments.
tests/sys/netpfil/common/divapp.c
144–148

You might add a comment here explaining that we are checking for packet loops here. That wasn't clear to me originally.

This revision is now accepted and ready to land.Wed, Aug 26, 8:36 PM
igoro added inline comments.
tests/sys/netpfil/common/divapp.c
144–148

Totally agree. The comment should have been there in the first place.

This revision was automatically updated to reflect the committed changes.
igoro marked an inline comment as done.