[Bug 253587] pf: page fault in pf_pull_hdr
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 17 20:07:05 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253587
Kristof Provost <kp at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kp at freebsd.org
--- Comment #1 from Kristof Provost <kp at freebsd.org> ---
I am very confused by this panic.
I initially thought that pf didn't account for mbufs with external storage, but
the network stack should already have fixed that for us.
The mbuf has m_len == 0, which shouldn't be possible. The network stack would
have done m_pullup(), and has in any event has done mtod(m, struct ip6_hdr)
without issue.
Additionally, the pf_test6() function has also done this without issue.
It's also not clear how pf_pull_hdr() can get a valid m pointer and yet call
m_copydata() with a NULL mbuf pointer.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list