Page MenuHomeFreeBSD

Garbage collection in divert(4).
ClosedPublic

Authored by glebius on Oct 22 2021, 11:29 PM.
Tags
None
Referenced Files
F173189201: D32608.id97311.diff
Thu, Sep 24, 4:42 AM
F173180441: D32608.diff
Thu, Sep 24, 3:40 AM
F173105773: D32608.id.diff
Wed, Sep 23, 3:54 PM
Unknown Object (File)
Sun, Sep 20, 6:51 AM
Unknown Object (File)
Tue, Sep 8, 12:45 AM
Unknown Object (File)
Sat, Aug 29, 1:42 AM
Unknown Object (File)
Aug 23 2026, 4:06 AM
Unknown Object (File)
Aug 23 2026, 2:51 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