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, May 14, 8:22 AM
Unknown Object (File)
Thu, May 14, 12:36 AM
Unknown Object (File)
Wed, May 13, 8:18 PM
Unknown Object (File)
Tue, May 12, 2:06 PM
Unknown Object (File)
Mon, May 11, 9:28 PM
Unknown Object (File)
Mon, May 11, 8:55 PM
Unknown Object (File)
Mon, May 11, 1:27 AM
Unknown Object (File)
Tue, Apr 28, 5:41 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.