HomeFreeBSD

ifnet: Add handling for toggling IFF_ALLMULTI in ifhwioctl()

Description

ifnet: Add handling for toggling IFF_ALLMULTI in ifhwioctl()

IFF_ALLMULTI has an associated activation counter and so needs special
treatment, like IFF_PROMISC. Introduce IFF_PALLMULTI, akin to
IFF_PPROMISC, which indicates that userspace requested allmulti mode,
and handle it specially in ifhwioctl().

Reviewed by: zlei, glebius
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D46524

(cherry picked from commit 58f194223ab8578269772a6874a8444e5e03afaf)

Details

Provenance
markjAuthored on Fri, Sep 6, 4:55 PM
Reviewer
zlei
Differential Revision
D46524: ifnet: Add handling for toggling IFF_ALLMULTI in ifhwioctl()
Parents
rG20191b71bae1: src.conf: Add a MK_ZFS_TESTS knob
Branches
Unknown
Tags
Unknown