br_mdb.c (6567cb438a51016f9f2152cb966f5715dc3c3c7b) | br_mdb.c (58d913a32664fae5ac2ccd9a9c23b8e7037df740) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/err.h> 3#include <linux/igmp.h> 4#include <linux/kernel.h> 5#include <linux/netdevice.h> 6#include <linux/rculist.h> 7#include <linux/skbuff.h> 8#include <linux/if_ether.h> --- 1091 unchanged lines hidden (view full) --- 1100 1101 /* host join */ 1102 if (!port) { 1103 if (mp->host_joined) { 1104 NL_SET_ERR_MSG_MOD(extack, "Group is already joined by host"); 1105 return -EEXIST; 1106 } 1107 | 1// SPDX-License-Identifier: GPL-2.0 2#include <linux/err.h> 3#include <linux/igmp.h> 4#include <linux/kernel.h> 5#include <linux/netdevice.h> 6#include <linux/rculist.h> 7#include <linux/skbuff.h> 8#include <linux/if_ether.h> --- 1091 unchanged lines hidden (view full) --- 1100 1101 /* host join */ 1102 if (!port) { 1103 if (mp->host_joined) { 1104 NL_SET_ERR_MSG_MOD(extack, "Group is already joined by host"); 1105 return -EEXIST; 1106 } 1107 |
1108 br_multicast_host_join(mp, false); | 1108 br_multicast_host_join(brmctx, mp, false); |
1109 br_mdb_notify(br->dev, mp, NULL, RTM_NEWMDB); 1110 1111 return 0; 1112 } 1113 1114 for (pp = &mp->ports; 1115 (p = mlock_dereference(*pp, br)) != NULL; 1116 pp = &p->next) { --- 243 unchanged lines hidden --- | 1109 br_mdb_notify(br->dev, mp, NULL, RTM_NEWMDB); 1110 1111 return 0; 1112 } 1113 1114 for (pp = &mp->ports; 1115 (p = mlock_dereference(*pp, br)) != NULL; 1116 pp = &p->next) { --- 243 unchanged lines hidden --- |