Bug #2165

Header change in if_var.h breaks applications

Added by ftigeot almost 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


Commit 1afbcbacb38bccc3bac01ae24420658b4b8346c7 has added this line:

#if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)

in sys/net/if_var.h to protect the definition of struct ifnet.

Some third-party applications depend on struct ifnet beeing defined without using
_KERNEL or _KERNEL_STRUCTURES. They built fine on DragonFly 2.10 but are now
broken on -master.

net/wminet in pkgsrc can be used as an example.


#1 Updated by ftigeot almost 5 years ago

struct ifnet should not be directly visible by userland programs

Applications will have to be patched on a case-by-case basis

Also available in: Atom PDF