From patchwork Mon Jul 19 12:47:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yajun Deng X-Patchwork-Id: 12385819 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03767C07E9D for ; Mon, 19 Jul 2021 12:47:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DF9A66113E for ; Mon, 19 Jul 2021 12:47:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236962AbhGSMGs (ORCPT ); Mon, 19 Jul 2021 08:06:48 -0400 Received: from out0.migadu.com ([94.23.1.103]:29923 "EHLO out0.migadu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236571AbhGSMGs (ORCPT ); Mon, 19 Jul 2021 08:06:48 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1626698846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=x8PnJ8W3fFhsOfoyFAM+siyJPmoRbiK7B+kykZqSh/Y=; b=uPxCRRiW6ReoAlGTfkz+urcDC/WWa12swKTvIkWP63C6hHJGg4VD97ZmsNEu6Cfv1WZQbl F6hR5nAMiZ90iYV4TxxI8EGOcyrkr94boqqnAJ+W63EBMmClqpYf5lAEwbj3I889RHo7CY sQsf3RVS8zGMAdzgjQ9mY1+0ybZNXW4= From: Yajun Deng To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-decnet-user@lists.sourceforge.net Cc: Yajun Deng Subject: [PATCH 3/4] vxlan: Adjustment parameters in rtnl_notify() Date: Mon, 19 Jul 2021 20:47:12 +0800 Message-Id: <20210719124712.9009-1-yajun.deng@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: yajun.deng@linux.dev Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org The fifth parameter alread modify from 'struct nlmsghdr *nlh' to 'int report', just adjustment it. Signed-off-by: Yajun Deng --- 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)