Possible Bug in bridge.c (depends on IPFILTER)

Gary Alan dragonfly at gallan.plus.com
Sat May 8 11:05:29 PDT 2004


Hello,

For the past week I have been unable to compile the kernel with certain 
options. I have finally narrowed down the problem.

Specifying the build option  "options  BRIDGE" requires "options 
IPFILTER" to also be present.  /usr/src/sys/net/bridge/bridge.c makes 
reference to the external function fr_checkp() (Line 210) defined in 
ipfilter and so the kernel will not link unless IPFILTER is also defined.

I removed the external reference and replaced it by a static function 
that returns zero. This solved the build problem but doesn't solve the 
actual issue, unfortunately I do not understand the code well enough to 
offer a correct patch for the problem.

As a side point the link to this forum on 
http://www.dragonflybsd.org/main/bugs.cgi is incorrect. 
nntp://news.dragonflybsd.org/dragonfly.bugs should be 
nntp://nntp.dragonflybsd.org/dragonfly.bugs.

Regards





More information about the Bugs mailing list