From: Yajun Deng <yajun.deng@linux.dev>
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-decnet-user@lists.sourceforge.net
Cc: Yajun Deng <yajun.deng@linux.dev>
Subject: [PATCH 3/4] vxlan: Adjustment parameters in rtnl_notify()
Date: Mon, 19 Jul 2021 20:47:12 +0800 [thread overview]
Message-ID: <20210719124712.9009-1-yajun.deng@linux.dev> (raw)
The fifth parameter alread modify from 'struct nlmsghdr *nlh' to
'int report', just adjustment it.
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
---
drivers/net/vxlan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 5a8df5a195cb..dbe0b531868a 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -381,7 +381,7 @@ static void __vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb,
goto errout;
}
- rtnl_notify(skb, net, 0, RTNLGRP_NEIGH, NULL, GFP_ATOMIC);
+ rtnl_notify(skb, net, 0, RTNLGRP_NEIGH, 0, GFP_ATOMIC);
return;
errout:
if (err < 0)
--
2.32.0
reply other threads:[~2021-07-19 12:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210719124712.9009-1-yajun.deng@linux.dev \
--to=yajun.deng@linux.dev \
--cc=linux-decnet-user@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).