Page MenuHomeFreeBSD

Remove an extra if_ref().
ClosedPublic

Authored by jhb on Oct 28 2020, 11:53 PM.
Tags
None
Referenced Files
F81965258: D26999.id78877.diff
Tue, Apr 23, 8:46 PM
Unknown Object (File)
Feb 22 2024, 6:04 AM
Unknown Object (File)
Jan 17 2024, 10:31 AM
Unknown Object (File)
Dec 23 2023, 4:18 AM
Unknown Object (File)
Nov 27 2023, 12:47 AM
Unknown Object (File)
Nov 14 2023, 9:48 PM
Unknown Object (File)
Sep 16 2023, 6:30 PM
Unknown Object (File)
Sep 6 2023, 7:27 PM

Details

Reviewers
gallatin
rrs
Group Reviewers
transport
Commits
rS367147: Remove an extra if_ref().
Summary

In r348254, if_snd_tag_alloc() routines were changed to bump the ifp
refcount via m_snd_tag_init(). This function wasn't in the tree at
the time and wasn't updated for the new semantics, so was still doing
a separate bump after if_snd_tag_alloc() returned.

Test Plan
  • tested by Drew

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Oct 28 2020, 11:53 PM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 29 2020, 10:17 PM
Closed by commit rS367147: Remove an extra if_ref(). (authored by jhb). · Explain Why
This revision was automatically updated to reflect the committed changes.

Sorry for the delayed review. This fix looks correct to me.