diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-11-16 15:38:54 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-11-17 10:46:20 +0100 |
commit | 47a8c0a144b873ca62ef6d000286464db0519292 (patch) | |
tree | 8f85d99bbc29ae8b0b1c917c219efc6f764c4a3c | |
parent | 75cfbdb91ce1f67dbae55a1d1271061ac1f5eabd (diff) |
backports: fix events with extack backport
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>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | backport/compat/backport-4.12.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |