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)
Sat, Oct 11, 7:33 AM
Unknown Object (File)
Sat, Oct 11, 7:33 AM
Unknown Object (File)
Sat, Oct 11, 12:13 AM
Unknown Object (File)
Thu, Oct 9, 8:56 PM
Unknown Object (File)
Wed, Oct 8, 9:29 PM
Unknown Object (File)
Thu, Oct 2, 12:59 AM
Unknown Object (File)
Wed, Oct 1, 11:21 PM
Unknown Object (File)
Sun, Sep 21, 7:59 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