summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backport/compat/backport-4.12.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backport/compat/backport-4.12.c b/backport/compat/backport-4.12.c
index b9b1d64e..2372a118 100644
--- a/backport/compat/backport-4.12.c
+++ b/backport/compat/backport-4.12.c
@@ -223,6 +223,7 @@ int bp_extack_genl_register_family(struct genl_family *family)
}
/* copy this since the family might access it directly */
+ family->id = copy->family.id;
family->attrbuf = copy->family.attrbuf;
#if LINUX_VERSION_IS_GEQ(3,13,0)
family->mcgrp_offset = copy->family.mcgrp_offset;