Skip to content
Snippets Groups Projects
Commit 48839967 authored by Izabela Bakollari's avatar Izabela Bakollari
Browse files

r8169: respect userspace disabling IFF_MULTICAST

JIRA: https://issues.redhat.com/browse/RHEL-6506



Conflicts: Context change due to missing upstream commit

commit 8999ce4c
Author: Heiner Kallweit <hkallweit1@gmail.com>
Date:   Sun Nov 5 23:43:36 2023 +0100

    r8169: respect userspace disabling IFF_MULTICAST

    So far we ignore the setting of IFF_MULTICAST. Fix this and clear bit
    AcceptMulticast if IFF_MULTICAST isn't set.

    Note: Based on the implementations I've seen it doesn't seem to be 100% clear
    what a driver is supposed to do if IFF_ALLMULTI is set but IFF_MULTICAST
    is not. This patch is based on the understanding that IFF_MULTICAST has
    precedence.

    Fixes: 1da177e4 ("Linux-2.6.12-rc2")
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
    Link: https://lore.kernel.org/r/4a57ba02-d52d-4369-9f14-3565e6c1f7dc@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>

Signed-off-by: default avatarIzabela Bakollari <ibakolla@redhat.com>
parent 4bcb0251
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment