Page MenuHomeFreeBSD

Garbage collection in divert(4).
ClosedPublic

Authored by glebius on Oct 22 2021, 11:29 PM.
Tags
None
Referenced Files
F139061926: D32608.id97311.diff
Sun, Dec 7, 6:11 AM
Unknown Object (File)
Sat, Dec 6, 4:11 AM
Unknown Object (File)
Tue, Dec 2, 5:37 AM
Unknown Object (File)
Tue, Nov 25, 12:23 PM
Unknown Object (File)
Sat, Nov 15, 7:32 PM
Unknown Object (File)
Oct 31 2025, 9:55 AM
Unknown Object (File)
Oct 17 2025, 10:59 PM
Unknown Object (File)
Oct 6 2025, 6:58 AM

Details

Summary
  • Remove div_ctlinput().

This function does nothing since 97d8d152c28b. It was introduced
in 252f24a2cf40 with a sidenote "may not be needed".

  • Don't run ip_ctloutput() for divert socket.

It was here since divert(4) was introduced, probably just came with a
protocol definition boilerplate. There is no useful socket option
that can be set or get for a divert socket.

Diff Detail

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