Page MenuHomeFreeBSD

sfxge(4): avoid duplicate delivery of packets when changing multicast mode with multicast chaining enabled
ClosedPublic

Authored by arybchik on May 12 2016, 6:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jul 28 2025, 11:19 PM
Unknown Object (File)
Jul 26 2025, 11:36 AM
Unknown Object (File)
Jul 12 2025, 12:10 PM
Unknown Object (File)
Jul 1 2025, 1:40 PM
Unknown Object (File)
Jun 30 2025, 1:07 PM
Unknown Object (File)
Jun 20 2025, 9:30 AM
Unknown Object (File)
Jun 19 2025, 7:56 AM
Unknown Object (File)
Jun 19 2025, 5:27 AM
Subscribers

Details

Summary

With multicast chaining, if e.g. a specific multicast filter is
inserted and the multicast mis-match filter is then inserted, both may
match a packet and cause it to be delivered.

Copy the behaviour of the Linux driver, which is to remove the old
filters first, on the basis that customers are more likely to be able
to handle drops than duplicates (see bug49178 comment 4).

Submitted by: Mark Spender <mspender at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

Build tested, driver loaded, IPv6 ping works

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arybchik retitled this revision from to sfxge(4): avoid duplicate delivery of packets when changing multicast mode with multicast chaining enabled.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, np, bz.
This revision was automatically updated to reflect the committed changes.