net: bridge: mcast: add rt_protocol field to the port group struct
We need to be able to differentiate between pg entries created by user-space and the kernel when we start generating S,G entries for IGMPv3/MLDv2's fast path. User-space entries are created by default as RTPROT_STATIC and the kernel entries are RTPROT_KERNEL. Later we can allow user-space to provide the entry rt_protocol so we can differentiate between who added the entries specifically (e.g. clag, admin, frr etc). Signed-off-by:Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/uapi/linux/if_bridge.h 1 addition, 0 deletionsinclude/uapi/linux/if_bridge.h
- net/bridge/br_mdb.c 26 additions, 16 deletionsnet/bridge/br_mdb.c
- net/bridge/br_multicast.c 5 additions, 2 deletionsnet/bridge/br_multicast.c
- net/bridge/br_private.h 2 additions, 1 deletionnet/bridge/br_private.h
Loading
Please register or sign in to comment