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)
Sun, Oct 12, 6:20 AM
Unknown Object (File)
Thu, Oct 9, 6:50 PM
Unknown Object (File)
Thu, Oct 9, 6:50 PM
Unknown Object (File)
Thu, Oct 9, 6:50 PM
Unknown Object (File)
Thu, Oct 9, 4:27 PM
Unknown Object (File)
Mon, Sep 29, 8:22 PM
Unknown Object (File)
Sun, Sep 28, 1:23 AM
Unknown Object (File)
Sat, Sep 27, 2:29 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