[Bug 205194] Changing MTU higher than 1500 on the interface pfsync0 causes panic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 11 19:58:07 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205194

--- Comment #1 from Kristof Provost <kp at freebsd.org> ---
I've had a quick look at this, and imagine my surprise when it turned out to
not actually be a PF bug.

Briefly, the pfsync interface doesn't have any ip6 data associated with it,
while the netinet6 code assumes it to be present.
We panic because of the call to nd6_setmtu(ifp); in the SIOCSIFMTU ioctl()
handler.

We just need to check if ip6 is active on the interface before we try to do
anything with it.

There's an open review in: https://reviews.freebsd.org/D4522

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


More information about the freebsd-net mailing list