Date: Tue, 27 Feb 2018 23:12:40 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 226254] ifnet(9) description for if_qflush() is incorrect Message-ID: <bug-226254-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226254 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: freebsd-doc@FreeBSD.org Reporter: erj@freebsd.org 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 NU= LL, so it isn't even possible (with asserts enabled) to set if_transmit before if_attach() and then set if_qflush afterwards. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226254-9>