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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Sep 25 18:05:11 PDT 2013


Issue #1914 has been updated by srussell.

Description updated
Status changed from Closed to In Progress
Assignee deleted (0)

I finally found what is causing constant reboots on my pf configuration. I replaced this configuration:

pass out on $ext_if inet proto { tcp udp icmp } all modulate state

with this:

pass out on $ext_if inet proto { tcp udp icmp } all keep state

So it seems that de "modulate" state is the root of the problem. Since I replaced it by "keep state", my firewall is working normally without panic or unwanted reboots.

----------------------------------------
Bug #1914: warning: nested extern declaration of 'lwkt_replymsg'
http://bugs.dragonflybsd.org/issues/1914#change-11586

* Author: srussell
* Status: In Progress
* 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



More information about the Bugs mailing list