HomeFreeBSD

igc: correctly update RCTL when changing multicast filters.

Description

igc: correctly update RCTL when changing multicast filters.

Fix clearing of bits in RCTL for the non-bpf/non-allmulti case.
Update RCTL after modifying the multicast filter registers as per
the Linux driver.

This fixes LACP on igc interfaces, where incoming LACP multicasti
control packets were being dropped.

Obtained from: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 5a3eb6207a353c3a18da8abcf00a2d75276dd29e)

Details

Provenance
grehanAuthored on Oct 11 2021, 5:49 PM
Parents
rG4a36455c4179: Factor out flags preserved during mbuf demote into a separate define.
Branches
Unknown
Tags
Unknown