Message ID | 20171116143855.12307-3-nbd@nbd.name (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/backport/compat/backport-4.12.c b/backport/compat/backport-4.12.c index f997b6c5..5e763084 100644 --- a/backport/compat/backport-4.12.c +++ b/backport/compat/backport-4.12.c @@ -224,6 +224,7 @@ int bp_extack_genl_register_family(struct genl_family *family) /* copy this since the family might access it directly */ family->attrbuf = copy->family.attrbuf; + family->mcgrp_offset = copy->family.mcgrp_offset; mutex_lock(&copies_mutex); list_add_tail(©->list, &copies_list);
The multicast group offset needs to be synced after registering the family, otherwise multicast messages will use the wrong id Signed-off-by: Felix Fietkau <nbd@nbd.name> --- backport/compat/backport-4.12.c | 1 + 1 file changed, 1 insertion(+)