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)
Thu, Dec 18, 9:15 PM
Unknown Object (File)
Thu, Dec 18, 4:24 AM
Unknown Object (File)
Fri, Dec 12, 8:17 AM
Unknown Object (File)
Thu, Dec 11, 8:21 PM
Unknown Object (File)
Wed, Dec 10, 2:11 PM
Unknown Object (File)
Sun, Dec 7, 1:17 AM
Unknown Object (File)
Fri, Dec 5, 5:38 PM
Unknown Object (File)
Thu, Dec 4, 4:06 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.