summaryrefslogtreecommitdiff
path: root/backport
diff options
context:
space:
mode:
Diffstat (limited to 'backport')
-rw-r--r--backport/compat/backport-4.12.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backport/compat/backport-4.12.c b/backport/compat/backport-4.12.c
index 5e763084..b9b1d64e 100644
--- a/backport/compat/backport-4.12.c
+++ b/backport/compat/backport-4.12.c
@@ -224,7 +224,9 @@ int bp_extack_genl_register_family(struct genl_family *family)
/* copy this since the family might access it directly */
family->attrbuf = copy->family.attrbuf;
+#if LINUX_VERSION_IS_GEQ(3,13,0)
family->mcgrp_offset = copy->family.mcgrp_offset;
+#endif
mutex_lock(&copies_mutex);
list_add_tail(&copy->list, &copies_list);