HomeFreeBSD

rge: fix multicast add/removal by using if_getdrvflags()

Description

rge: fix multicast add/removal by using if_getdrvflags()

Using if_getflags() to check IFF_DRV_RUNNING is wrong;
if_getdrvflags() is required. This issue resulted in the
multicast filter not being updated.

This was an oversight by me in my initial port.

Thanks to danilo@ for reporting it and Oleg <oleglelchuk@gmail.com>
for the fix.

PR: kern/295176

Details

Provenance
adrianAuthored on Jul 12 2026, 3:26 PM
Parents
rG23a6997e3071: fwdv: add AV/C DV capture driver for FireWire camcorders
Branches
Unknown
Tags
Unknown