Page MenuHomeFreeBSD

gif(4): Fix regression in ethernet over IPv6
AbandonedPublic

Authored by meta on Jul 16 2025, 4:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 26, 4:23 AM
Unknown Object (File)
Wed, Mar 25, 5:49 AM
Unknown Object (File)
Sat, Mar 21, 3:21 PM
Unknown Object (File)
Fri, Mar 20, 12:45 AM
Unknown Object (File)
Sat, Mar 14, 6:50 AM
Unknown Object (File)
Fri, Mar 6, 11:00 PM
Unknown Object (File)
Fri, Mar 6, 4:14 PM
Unknown Object (File)
Feb 24 2026, 12:15 PM

Details

Reviewers
ae
marius
Group Reviewers
network
Summary

Normally, when a gif(4) interface is a member of bridge(4),
bridge_enqueue() only calls gif_transmit(), so this code path should
never be reached. However, if the outer protocol of the gif tunnel is
IPv6, certain special IPv6 multicast control messages, such as MLDv2,
destinated for ff02::/16 may still reach gif_output() due to internal
behavior of IPv6 stack.

Therefore, the kernel should not panic because of such packets; instead,
they should be silently dropped.

PR: 227450
Fixes: 8a030872 ("gif(4): Assert that gif_output() isn't called for EtherIP")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 65491
Build 62374: arc lint + arc unit