Page MenuHomeFreeBSD

ipfw: Retire obsolete compat code
ClosedPublic

Authored by emaste on Oct 24 2025, 8:33 PM.
Tags
None
Referenced Files
F163130251: D53343.id165009.diff
Mon, Jul 20, 8:43 AM
F163040841: D53343.id165163.diff
Sun, Jul 19, 12:52 PM
Unknown Object (File)
Sun, Jul 19, 3:16 AM
Unknown Object (File)
Sat, Jul 18, 10:14 AM
Unknown Object (File)
Fri, Jul 17, 10:25 PM
Unknown Object (File)
Wed, Jul 15, 6:51 AM
Unknown Object (File)
Wed, Jul 15, 6:51 AM
Unknown Object (File)
Thu, Jun 25, 6:34 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.