Page MenuHomeFreeBSD

vtnet: allow IFF_ALLMULTI to be set without VIRTIO_NET_F_CTRL_RX
ClosedPublic

Authored by kp on Aug 8 2023, 12:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 7, 6:52 AM
Unknown Object (File)
Sat, Nov 29, 6:10 AM
Unknown Object (File)
Fri, Nov 28, 10:32 AM
Unknown Object (File)
Wed, Nov 26, 1:37 AM
Unknown Object (File)
Wed, Nov 26, 12:45 AM
Unknown Object (File)
Fri, Nov 21, 9:30 AM
Unknown Object (File)
Sun, Nov 16, 8:07 AM
Unknown Object (File)
Nov 14 2025, 12:33 AM

Details

Summary

If the host doesn't announce VIRTIO_NET_F_CTRL_RX we cannot disable all
multicast traffic. Previously we'd refuse to set the IFF_ALLMULTI flag,
which is the exact opposite of what is actually happening.

This broke things such as igmpproxy.

See also: https://redmine.pfsense.org/issues/14301
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable