Page MenuHomeFreeBSD

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

Authored by igoro on Fri, Aug 21, 11:33 AM.
Tags
None
Referenced Files
F171466990: D59067.id185200.diff
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
Unknown Object (File)
Mon, Sep 7, 4:34 PM
Unknown Object (File)
Sun, Sep 6, 3:19 PM
Unknown Object (File)
Sun, Sep 6, 1:25 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75932
Build 72815: arc lint + arc unit

Event Timeline

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

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

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.