Page MenuHomeFreeBSD

Garbage collection in divert(4).
ClosedPublic

Authored by glebius on Oct 22 2021, 11:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 18 2024, 9:10 AM
Unknown Object (File)
Oct 17 2024, 8:59 PM
Unknown Object (File)
Oct 17 2024, 5:12 AM
Unknown Object (File)
Sep 30 2024, 7:01 AM
Unknown Object (File)
Sep 28 2024, 11:17 AM
Unknown Object (File)
Sep 26 2024, 4:18 PM
Unknown Object (File)
Sep 24 2024, 5:03 PM
Unknown Object (File)
Sep 20 2024, 3:36 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