Linux backports project
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@nbd.name>
To: backports@vger.kernel.org
Subject: [PATCH 3/4] backports: fix events with extack backport
Date: Thu, 16 Nov 2017 15:38:54 +0100	[thread overview]
Message-ID: <20171116143855.12307-3-nbd@nbd.name> (raw)
In-Reply-To: <20171116143855.12307-1-nbd@nbd.name>

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(+)

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(&copy->list, &copies_list);
-- 
2.14.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in

  parent reply	other threads:[~2017-11-16 14:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-16 14:38 [PATCH 1/4] kconf: sync with upstream version 37861ffa8c28 Felix Fietkau
2017-11-16 14:38 ` [PATCH 2/4] backport-include: backport skb_get_hash_perturb Felix Fietkau
2017-11-16 14:38 ` Felix Fietkau [this message]
2017-11-16 14:38 ` [PATCH 4/4] backports: fix missing linux/verification.h error on < 4.7 Felix Fietkau
2017-11-17  9:47 ` [PATCH 1/4] kconf: sync with upstream version 37861ffa8c28 Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171116143855.12307-3-nbd@nbd.name \
    --to=nbd@nbd.name \
    --cc=backports@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox