Page MenuHomeFreeBSD

Use the thread's vnet when iterating over interfaces.
ClosedPublic

Authored by markj on May 16 2018, 12:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 28, 9:07 AM
Unknown Object (File)
Sat, Sep 28, 8:02 AM
Unknown Object (File)
Tue, Sep 17, 6:59 AM
Unknown Object (File)
Sep 8 2024, 4:32 AM
Unknown Object (File)
Sep 7 2024, 3:52 PM
Unknown Object (File)
Aug 28 2024, 7:17 AM
Unknown Object (File)
Aug 17 2024, 2:49 AM
Unknown Object (File)
Aug 13 2024, 1:57 AM
Subscribers

Details

Summary

For now, only permit the use of interfaces from vnet0; netdump may only
be configured from the host, and it's not clear to me that interface
names are unique across vnets. This fixes a panic when configuring
netdump with VIMAGE enabled.

Also fix a resource leak that occurs if the priv_check() in set_dumper()
or clear_dumper() fails. Note that netdump_mbuf_drain() is idempotent.

Diff Detail

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