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)
Mon, Jul 27, 12:58 AM
Unknown Object (File)
Sun, Jul 26, 12:16 PM
Unknown Object (File)
Sat, Jul 11, 4:05 PM
Unknown Object (File)
Sat, Jul 11, 4:04 PM
Unknown Object (File)
Tue, Jul 7, 7:02 PM
Unknown Object (File)
Sat, Jul 4, 10:11 PM
Unknown Object (File)
Jun 26 2026, 6:56 AM
Unknown Object (File)
Jun 26 2026, 6:09 AM

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