Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Dec 2015 00:53:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 189219] [dummynet] [patch] using dummynet on sparc64 and configuring a pipe is an insta-panic
Message-ID:  <bug-189219-2472-a2QdLkqwDb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-189219-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-189219-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189219

--- Comment #8 from lidl@pix.net ---
Applying Marius' patch fixes up the ip_dummynet code at least enough
to make the trivial configuration panic stop happening.

Applying the patch to r291431, I can now do the following:

root@ton-129: kldload dummynet
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny,
logging disabled
DUMMYNET 0 with IPv6 initialized (100409)
load_dn_sched dn_sched FIFO loaded
load_dn_sched dn_sched QFQ loaded
load_dn_sched dn_sched RR loaded
load_dn_sched dn_sched WF2Q+ loaded
load_dn_sched dn_sched PRIO loaded
root@ton-130: /etc/rc.d/ipfw onestart
ipfw: setsockopt(IP_FW_XDEL): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
ipfw: getsockopt(IP_FW_XADD): Invalid argument
Firewall rules loaded.
root@ton-131: ipfw pipe 1 config bw 100mbit
root@ton-132: /etc/rc.d/ipfw onestop
net.inet.ip.fw.enable: 1 -> 0
net.inet6.ip6.fw.enable: 1 -> 0

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-189219-2472-a2QdLkqwDb>