DragonFly BSD
DragonFly bugs List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #1914] (Closed) warning: nested extern declaration of 'lwkt_replymsg'


From: Stephane Russell via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Mar 2012 09:54:48 -0800

Issue #1914 has been updated by Stephane Russell.

Description updated
Status changed from New to Closed

It looks like there is no more panics when activating my PF ruleset with DragonFly 3.0. Though, after many tests, even the example firewall settings given at the end of this page: http://www.openbsd.org/faq/pf/filter.html, didn't work right for me. But no panics are happening anymore, except for one caused by a buffer overflow, that I couldn't reproduce afterward.
----------------------------------------
Bug #1914: warning: nested extern declaration of 'lwkt_replymsg'
http://bugs.dragonflybsd.org/issues/1914

Author: Stephane Russell
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 


Hi,

Im upgrading DFBSD from 2.4 to 2.8. I compiled with success the GENERIC
kernel. But when I take this configuration and add the firewall and
IPDIVERT changes, I'm getting this:

/usr/src/sys/netinet/ip_divert.c: In function 'div_attach':
/usr/src/sys/netinet/ip_divert.c:437: warning: implicit declaration of
function 'lwkt_replymsg'
/usr/src/sys/netinet/ip_divert.c:437: warning: nested extern declaration
of 'lwkt_replymsg'
*** Error code 1

Here is my changes to the GENERIC kernel (<=my kernel):

< #cpu          I486_CPU
< #cpu          I586_CPU
---
> cpu           I486_CPU
> cpu           I586_CPU

< #makeoptions  DEBUG=-g                #Build kernel with gdb(1) debug
symbols
---
> makeoptions   DEBUG=-g                #Build kernel with gdb(1) debug
symbols

< options               COMPAT_LINUX

< #device               uhid            # "Human Interface Devices"
---
> device                uhid            # "Human Interface Devices"

< options       IPFIREWALL              #firewall
< options       IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
< options       IPFIREWALL_FORWARD      #enable transparent proxy support
< options       IPV6FIREWALL            #firewall for IPv6
< options       IPV6FIREWALL_VERBOSE
< options       IPDIVERT                #divert sockets
< device          pf
< device          pfsync
< device          pflog

I've searched and found no issue on this. Anybody can help?

Thanks

SR


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]