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)
Sat, Mar 14, 8:42 PM
Unknown Object (File)
Wed, Mar 11, 10:24 AM
Unknown Object (File)
Wed, Mar 11, 10:22 AM
Unknown Object (File)
Wed, Mar 11, 9:50 AM
Unknown Object (File)
Mon, Mar 9, 12:11 PM
Unknown Object (File)
Fri, Mar 6, 2:20 AM
Unknown Object (File)
Sat, Feb 21, 7:04 AM
Unknown Object (File)
Feb 10 2026, 1:27 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.