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)
Sat, Jul 11, 3:54 PM
Unknown Object (File)
Fri, Jul 3, 7:38 AM
Unknown Object (File)
Fri, Jul 3, 7:28 AM
Unknown Object (File)
Fri, Jul 3, 3:22 AM
Unknown Object (File)
Wed, Jul 1, 1:52 AM
Unknown Object (File)
Tue, Jun 30, 3:16 PM
Unknown Object (File)
Sun, Jun 28, 4:57 AM
Unknown Object (File)
Wed, Jun 24, 6:48 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