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)
Fri, Nov 29, 7:09 AM
Unknown Object (File)
Sun, Nov 24, 10:28 AM
Unknown Object (File)
Tue, Nov 19, 9:12 AM
Unknown Object (File)
Wed, Nov 13, 12:33 AM
Unknown Object (File)
Nov 7 2024, 2:32 AM
Unknown Object (File)
Oct 25 2024, 7:30 PM
Unknown Object (File)
Oct 22 2024, 7:22 PM
Unknown Object (File)
Oct 22 2024, 10:41 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