Page MenuHomeFreeBSD

ifnet: Assert that we are assigning network stack correctly
ClosedPublic

Authored by zlei on Oct 7 2024, 3:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 11:04 PM
Unknown Object (File)
Thu, Dec 26, 5:44 PM
Unknown Object (File)
Dec 9 2024, 4:55 AM
Unknown Object (File)
Dec 9 2024, 2:06 AM
Unknown Object (File)
Nov 29 2024, 7:09 AM
Unknown Object (File)
Nov 24 2024, 10:28 AM
Unknown Object (File)
Nov 19 2024, 9:12 AM
Unknown Object (File)
Nov 13 2024, 12:33 AM

Details

Summary

It makes no senses to assign NULL vnet to an interface. Add an
assertion for that.

This will also help diagnosing problem report [1].

  1. https://bugs.freebsd.org/275381

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable