]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
igc: correctly update RCTL when changing multicast filters.
authorPeter Grehan <grehan@FreeBSD.org>
Mon, 11 Oct 2021 17:49:01 +0000 (03:49 +1000)
committerPeter Grehan <grehan@FreeBSD.org>
Sun, 14 Nov 2021 01:40:32 +0000 (11:40 +1000)
commit3d093d5b00533827864689f7638476eff83c7894
tree757b7cdcccbfe5971cc87579d085ce7f6168ea9d
parent35a5a941bf83ad16979b213ed64813cdbc757ce6
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.

Approved by: re  (gjb)
Obtained from: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 5a3eb6207a353c3a18da8abcf00a2d75276dd29e)
(cherry picked from commit 73e1138208a5888aaabfc44d8e48aa04554c9146)
sys/dev/igc/if_igc.c