HomeFreeBSD

Fix panic in IPv6 multicast code.

Description

Fix panic in IPv6 multicast code.

Add check that ifp supports IPv6 multicasts in in6_getmulti.
This fixes panic when user application tries to join into multicast
group on an interface that doesn't support IPv6 multicasts, like
IFT_PFLOG interfaces.

PR: 257302
Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D31420

(cherry picked from commit d477a7feed177d0ad5c12bc6e2cce804d427ed38)

Details

Provenance
aeAuthored on Aug 5 2021, 8:51 AM
Reviewer
melifaro
Differential Revision
D31420: Fix panic in IPv6 multicast code
Parents
rG6004eaaf0fc4: coretemp(4): Switch to smp_rendezvous_cpus().
Branches
Unknown
Tags
Unknown