https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226254
Bug ID: 226254
Summary: ifnet(9) description for if_qflush() is incorrect
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
The manpage says this about the if_qflush function pointer:
"This function must be installed after if_attach() to
override the default implementation.
However, looking at if_attach(), it only sets if_qflush if the function sees
that both the if_transmit and if_qflush function pointers are NULL.
There's also a KASSERT that says both fields must be set or both must be NULL,
so it isn't even possible (with asserts enabled) to set if_transmit before
if_attach() and then set if_qflush afterwards.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"