[Bug 256819] dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Jun 2021 03:20:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256819

            Bug ID: 256819
           Summary: dummynet in monolithic kernel broken on
                    stable/12-n233319-c419c8231fb arm64
           Product: Base System
           Version: 12.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: kudzu@tenebras.com

Created attachment 226046
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226046&action=edit
kernconf

This was working with 

stable/12-n233296-71efecb7eb1 arm64

and is broken with

stable/12-n233319-c419c8231fb arm64

The sysctl oids for dummynet (many of them) are borked. Something is not
getting initialized.

===================================

root@graviton-1:/etc/ipfw 242# ipfw pipe 1 config gred 0.01/12/36/0.75 noerror
ipfw: net.inet.ip.dummynet.red_lookup_depth must be greater than zero

root@graviton-1:/etc/ipfw 243# sysctl net.inet.ip.dummynet.red_lookup_depth=256
sysctl: oid 'net.inet.ip.dummynet.red_lookup_depth' is read only

===================================

diff of the dummynet oids
< stable/12-n233296-71efecb7eb1 arm64
> stable/12-n233319-c419c8231fb arm64

3,4c3,4
< net.inet.ip.dummynet.io_pkt_fast: 66
< net.inet.ip.dummynet.io_pkt: 188
---
> net.inet.ip.dummynet.io_pkt_fast: 0
> net.inet.ip.dummynet.io_pkt: 0
6c6
< net.inet.ip.dummynet.fsk_count: 3
---
> net.inet.ip.dummynet.fsk_count: 0
8c8
< net.inet.ip.dummynet.schk_count: 6
---
> net.inet.ip.dummynet.schk_count: 0
10c10
< net.inet.ip.dummynet.expire: 1
---
> net.inet.ip.dummynet.expire: 0
12,18c12,18
< net.inet.ip.dummynet.tick_diff: 454
< net.inet.ip.dummynet.tick_adjustment: 53
< net.inet.ip.dummynet.tick_delta_sum: 4
< net.inet.ip.dummynet.tick_delta: -59
< net.inet.ip.dummynet.red_max_pkt_size: 1500
< net.inet.ip.dummynet.red_avg_pkt_size: 512
< net.inet.ip.dummynet.red_lookup_depth: 256
---
> net.inet.ip.dummynet.tick_diff: 0
> net.inet.ip.dummynet.tick_adjustment: 0
> net.inet.ip.dummynet.tick_delta_sum: 0
> net.inet.ip.dummynet.tick_delta: 0
> net.inet.ip.dummynet.red_max_pkt_size: 0
> net.inet.ip.dummynet.red_avg_pkt_size: 0
> net.inet.ip.dummynet.red_lookup_depth: 0

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