HomeFreeBSD

net: don't panic on ifconfig pfsync0 mtu 9000

Description

net: don't panic on ifconfig pfsync0 mtu 9000

pfsync interfaces do not have ifp->if_inet6 set, so when we update the
MTU for those interfaces we panicked.

Add an explicit check for this. This should be temporary, until pfsync
is no longer a struct ifnet (as we've already done for pflog).

Reviewed by: glebius
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D58701

Details

Provenance
kpAuthored on Aug 7 2026, 12:39 PM
Reviewer
glebius
Differential Revision
D58701: net: don't panic on ifconfig pfsync0 mtu 9000
Parents
rG42d54a8fd466: vmm: Tear down the IOMMU before AMD-Vi detach
Branches
Unknown
Tags
Unknown