diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-11-17 10:49:10 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-11-17 10:49:10 +0100 |
commit | 1d8cc151d365582b42be00af776270b834a7a37d (patch) | |
tree | b81d143755bf8375b306adc69a4d0df189cbce3a /backport | |
parent | 2697a217cace11c3e97f51a9e2e9bc55eb29c2b4 (diff) |
backports: make extack backport compile on <3.13
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport')
-rw-r--r-- | backport/compat/backport-4.12.c | 2 |
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(©->list, &copies_list); |