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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Feb 2023 20:39:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268246

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

a -- I went to explore frame 12 a bit:

frame 12
#12 0xffffffff80dfe1d2 in ip_output (m=0xfffff802d9447a00, 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
/root/usr/src/sys/netinet/ip_output.c:816
816             error = ip_fragment(ip, &m, mtu, ifp->if_hwassist);
(kgdb) p ip
$5 = (struct ip *) 0xfffff802d9447a68
(kgdb) p/x *ip
$6 = {ip_hl = 0x5, ip_v = 0x4, ip_tos = 0xd, ip_len = 0x9887, ip_id = 0xfb57,
ip_off = 0x4006,
  ip_ttl = 0x20, ip_p = 0x1, ip_sum = 0xd004, ip_src = {s_addr = 0x69011824},
ip_dst = {
    s_addr = 0x0}}


b -- back to frame 11, per request:
(kgdb) frame 11
#11 0xffffffff80dfe81f in ip_fragment (ip=<optimized out>,
ip@entry=0xfffff802d9447a68,
    m_frag=m_frag@entry=0xfffffe020478fd80, mtu=mtu@entry=9000,
if_hwassist_flags=<optimized out>)
    at /root/usr/src/sys/netinet/ip_output.c:992
992                     m->m_next = m_copym(m0, off, len, M_NOWAIT);
(kgdb) p *mhip
$7 = {ip_hl = 5 '\005', ip_v = 4 '\004', ip_tos = 13 '\r', ip_len = 5152, ip_id
= 64343,
  ip_off = 10823, ip_ttl = 32 ' ', ip_p = 1 '\001', ip_sum = 53252, ip_src =
{s_addr = 1761679396},
  ip_dst = {s_addr = 0}}
(kgdb) p/x *mhip
$8 = {ip_hl = 0x5, ip_v = 0x4, ip_tos = 0xd, ip_len = 0x1420, ip_id = 0xfb57,
ip_off = 0x2a47,
  ip_ttl = 0x20, ip_p = 0x1, ip_sum = 0xd004, ip_src = {s_addr = 0x69011824},
ip_dst = {
    s_addr = 0x0}}

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