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
F164503700: D41356.id125696.diff
Sat, Aug 1, 12:29 PM
Unknown Object (File)
Fri, Jul 31, 10:39 PM
Unknown Object (File)
Fri, Jul 31, 5:19 AM
Unknown Object (File)
Tue, Jul 28, 8:51 AM
Unknown Object (File)
Sun, Jul 26, 1:56 PM
Unknown Object (File)
Sun, Jul 19, 3:01 PM
Unknown Object (File)
Sun, Jul 19, 3:01 PM
Unknown Object (File)
Jun 27 2026, 11:21 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