Page MenuHomeFreeBSD

Garbage collection in divert(4).
ClosedPublic

Authored by glebius on Oct 22 2021, 11:29 PM.
Tags
None
Referenced Files
F95287046: D32608.diff
Fri, Sep 20, 3:36 AM
Unknown Object (File)
Wed, Sep 18, 12:01 PM
Unknown Object (File)
Sat, Sep 14, 1:39 PM
Unknown Object (File)
Thu, Sep 5, 10:37 AM
Unknown Object (File)
Wed, Sep 4, 2:32 PM
Unknown Object (File)
Sat, Aug 31, 6:01 PM
Unknown Object (File)
Aug 19 2024, 4:13 AM
Unknown Object (File)
Aug 17 2024, 12:29 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