Page MenuHomeFreeBSD

ipfw: Retire obsolete compat code
ClosedPublic

Authored by emaste on Oct 24 2025, 8:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 28, 5:41 AM
Unknown Object (File)
Sat, Apr 25, 10:23 AM
Unknown Object (File)
Wed, Apr 22, 5:09 AM
Unknown Object (File)
Tue, Apr 21, 9:30 PM
Unknown Object (File)
Sun, Apr 12, 12:30 AM
Unknown Object (File)
Tue, Apr 7, 9:51 PM
Unknown Object (File)
Mon, Apr 6, 6:15 AM
Unknown Object (File)
Apr 1 2026, 6:54 AM

Details

Summary
The current IPFW version dates to 2010 (commit cc4d3c30ea28, "Bring in
the most recent version of ipfw and dummynet, developed").  We no longer
need backwards compatibility with FreeBSD 8 and earlier.

Diff Detail

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

Event Timeline

There's a reference to IP_DUMMYNET_GET in sbin/ipfw/ipfw2.c that can probably be removed as well.

There's a reference to IP_DUMMYNET_GET in sbin/ipfw/ipfw2.c that can probably be removed as well.

Fair point, D53348

This revision is now accepted and ready to land.Oct 25 2025, 7:01 PM
glebius added inline comments.
sys/modules/dummynet/Makefile
2–3

Maybe merge those SRCS declarations? At least first two into one line.

There's a reference to IP_DUMMYNET_GET in sbin/ipfw/ipfw2.c that can probably be removed as well.

Actually there's a bunch of unused cases in do_cmd() not just IP_DUMMYNET_GET -- D53378

This revision was automatically updated to reflect the committed changes.