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)
Fri, Nov 14, 12:33 AM
Unknown Object (File)
Thu, Nov 13, 8:04 AM
Unknown Object (File)
Mon, Nov 3, 4:34 PM
Unknown Object (File)
Mon, Nov 3, 2:22 PM
Unknown Object (File)
Sun, Nov 2, 7:58 AM
Unknown Object (File)
Sat, Nov 1, 8:54 PM
Unknown Object (File)
Sat, Nov 1, 1:05 AM
Unknown Object (File)
Fri, Oct 31, 9:59 PM

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 53011
Build 49902: arc lint + arc unit