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)
Wed, Jan 14, 12:11 PM
Unknown Object (File)
Thu, Jan 8, 9:10 AM
Unknown Object (File)
Tue, Jan 6, 6:37 AM
Unknown Object (File)
Dec 9 2025, 3:48 PM
Unknown Object (File)
Nov 9 2025, 10:53 AM
Unknown Object (File)
Oct 29 2025, 1:59 AM
Unknown Object (File)
Oct 29 2025, 1:58 AM
Unknown Object (File)
Oct 29 2025, 1:54 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