[Bug 268246] crash and panic using pfsync on 13.1-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Jan 2023 18:52:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268246

--- Comment #15 from jjasen@gmail.com ---
(In reply to Kristof Provost from comment #14)

I'll post the additions to compile this shortly --

These pertain to to the pfsyncintr induced crash

info locals
et = {et_link = {tqe_next = 0x0, tqe_prev = 0xfffffe00dd853ad8}, et_td =
0xfffffe0105a4d900, et_section = {bucket = 0}, et_old_priority = 28 '\034'}
sc = 0xfffff8007df94d80
saved_vnet = 0x0
c = <optimized out>
m = 0xfffff8007df2b700
b = 0xfffffe0105bdc848
n = 0x0

 frame 11
#11 0xffffffff82a58851 in pfsyncintr (arg=0xfffff8007df94d80) at
/usr/src/sys/netpfil/pf/if_pfsync.c:2349
2349                                    ip_output(m, NULL, NULL, 0, NULL,
NULL);

frame 10

#10 0xffffffff80de8373 in ip_output (m=0xfffff8007df2b700, opt=<optimized out>,
opt@entry=0x0, ro=<optimized out>, ro@entry=0x0, flags=flags@entry=0,
    imo=<optimized out>, imo@entry=0x0, inp=<optimized out>, inp@entry=0x0) at
/usr/src/sys/netinet/ip_output.c:816
816             error = ip_fragment(ip, &m, mtu, ifp->if_hwassist);

frame 9
 0xffffffff80de89bf in ip_fragment (ip=<optimized out>,
ip@entry=0xfffff8007df2b768, m_frag=m_frag@entry=0xfffffe0105c91d80,
mtu=mtu@entry=9000,
    if_hwassist_flags=<optimized out>) at /usr/src/sys/netinet/ip_output.c:992
992                     m->m_next = m_copym(m0, off, len, M_NOWAIT);

 frame 8
#8  0xffffffff80cc3a40 in m_copym (m=0x0, m@entry=0xfffff8007df2b700,
off0=8268, len=8192, wait=wait@entry=1) at /usr/src/sys/kern/uipc_mbuf.c:510
510                     if (off < m->m_len)


frame 11 print arg
print arg
$1 = (void *) 0xfffff8007df94d80

frame 8 locals: 
info locals
copyhdr = 0
off = 8188
np = <optimized out>
top = <optimized out>
n = <optimized out>

frame 9:
mhip = 0xfffff80509917268
m = 0xfffff80509917200
mhlen = <optimized out>
m0 = <optimized out>
len = 8192
hlen = 20
error = 0
ip_len = <optimized out>
ip_off = 1600
off = 8268
nfrags = 2
mnext = <optimized out>
firstlen = 56

frame 10:
in_ifa_tracker = {rmp_cpuQueue = {rmq_next = 0x5, rmq_prev =
0xfffff8007df94d80}, rmp_rmlock = 0xfffff8009aa7d83c, rmp_thread = 0x0,
  rmp_flags = -1512796824, rmp_qentry = {le_next = 0x0, le_prev =
0xfffffe0105c91d40}}
iproute = {ro_nh = 0x0, ro_lle = 0x0, ro_prepend = 0x0, ro_plen = 0, ro_flags =
128, ro_mtu = 0, spare = 0, ro_dst = {sa_len = 16 '\020',
    sa_family = 2 '\002', sa_data = '\000' <repeats 13 times>}}
no_route_but_check_spd = <optimized out>
ia = 0xfffff80088782480
vlan_pcp = -1
error = <optimized out>
mtu = 9000
hlen = 20
ifp = <optimized out>
ip = 0xfffff8007df2b768
ip_len = <optimized out>
fibnum = 0
dst = 0xfffffe0105c91db0
gw = 0xfffff800b4023404
src = <optimized out>
isbroadcast = <optimized out>
m0 = <optimized out>
ip_off = <optimized out>

frame 11:
et = {et_link = {tqe_next = 0x0, tqe_prev = 0xfffffe00dd853ad8}, et_td =
0xfffffe0105a4d900, et_section = {bucket = 0}, et_old_priority = 28 '\034'}
sc = 0xfffff8007df94d80
saved_vnet = 0x0
c = <optimized out>
m = 0xfffff8007df2b700
b = 0xfffffe0105bdc848
n = 0x0


amd64/conf file:

more GENERIC-DEBUG
ident   GENERIC-DEBUG

include GENERIC
options KDB_UNATTENDED
options DDB

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