Project

General

Profile

Actions

Bug #2165

closed

Header change in if_var.h breaks applications

Added by ftigeot over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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.

Actions #1

Updated by ftigeot over 12 years ago

struct ifnet should not be directly visible by userland programs

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

Actions

Also available in: Atom PDF