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)
Fri, Feb 28, 3:59 PM
Unknown Object (File)
Sun, Feb 23, 11:04 AM
Unknown Object (File)
Sat, Feb 22, 1:17 AM
Unknown Object (File)
Sun, Feb 9, 9:19 AM
Unknown Object (File)
Sun, Feb 9, 9:16 AM
Unknown Object (File)
Jan 28 2025, 2:37 PM
Unknown Object (File)
Jan 24 2025, 5:30 PM
Unknown Object (File)
Jan 18 2025, 10:23 PM

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