Page MenuHomeFreeBSD

Garbage collection in divert(4).
ClosedPublic

Authored by glebius on Oct 22 2021, 11:29 PM.
Tags
None
Referenced Files
F158037571: D32608.diff
Wed, May 27, 7:13 PM
Unknown Object (File)
Fri, May 15, 1:01 PM
Unknown Object (File)
Fri, May 15, 10:21 AM
Unknown Object (File)
Thu, May 14, 11:28 PM
Unknown Object (File)
Thu, May 14, 11:09 PM
Unknown Object (File)
Thu, May 14, 7:22 PM
Unknown Object (File)
Wed, May 13, 1:01 AM
Unknown Object (File)
Wed, May 13, 1:01 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42307
Build 39195: arc lint + arc unit