From nobody Sun May 10 10:32:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BEC6C433EF for ; Thu, 5 May 2022 15:10:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381171AbiEEPON (ORCPT ); Thu, 5 May 2022 11:14:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380483AbiEEPNy (ORCPT ); Thu, 5 May 2022 11:13:54 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C22579AE; Thu, 5 May 2022 08:10:11 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id o12-20020a1c4d0c000000b00393fbe2973dso5311684wmh.2; Thu, 05 May 2022 08:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i9qtO8+wEHvEFlgaxTfu3fZrh/1vEN5OoUor60j7zaI=; b=IrOspQzMnmkD2mFnHlxZG+PigmCkPMc/KQ4rbL6wEhhafhSsL0ZLwz34TamZzx9zRC JBBFOPrELOfaIVyzGx+PjWGiMl4LpZjRXYg4y0j883W7K9tQfaYF5sW305P0B7dLhLUp VoAehL4MYKQxdkgJk1MJG3cHrFHuAoTbAfbdb/yF12Zc7rddVrCuwqdEdQywOJpN7ZzZ gFN8eCWU/pOlcZPvQcTYXtj4vHcbXKls/0Y50fI809bMRX1EzbeE3S2aBd/j25HscM0W E4BAL2+cEgUyyZipgxC1FP1j8wYZlTKjeX6AQxccH9LKnOdwLBuy15XER94Vo1mcA8VY tI5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i9qtO8+wEHvEFlgaxTfu3fZrh/1vEN5OoUor60j7zaI=; b=YN/MBbyl2frKAAD8YAnx4+sqn9kCj7G4Ou1MUxVtwQaj/yKq1Yz6sMqhur5KxnYhhs q3U/hCA4VVswPKVxdU/OY1FTX/4onk6UppmEEnMtA3NnI6P7hpfXVfVU/6ukMEcsfnrX JYCmsGmThUMaqFZ9SCH+OVC5DQ5GxmT0vARSukauDET2z9HHN+r6dsoQRooI75wdvb4I PXyW1Z2dYJPY2jG8DExVbzxbL6oIjs+mdKXVlz/wx7CEEnaExfaGE+cY+k9uKo3Fa734 sYGwo3kUz0OpT4RRG+r1gakAXThVphLZzQPPKe+1gueKBabYv4ZhSJSnhDITD5C/ZJgz LElQ== X-Gm-Message-State: AOAM533RZteu+gOcUxMFyFqRbTVomiIOssde/5sFEQj7s/pRkCo2XUQQ RhZylOoRYL5Eq9khXaijPok= X-Google-Smtp-Source: ABdhPJy8mRiJN4SMXkNFBKa1c/BQbSZan0uqMZ9hi5XbQ2MRyDUVwAa4VtRpe6TU6yVa7FxNKZPjvA== X-Received: by 2002:a05:600c:2258:b0:394:2045:bed with SMTP id a24-20020a05600c225800b0039420450bedmr5510174wmm.174.1651763410271; Thu, 05 May 2022 08:10:10 -0700 (PDT) Received: from alaa-emad ([197.57.200.226]) by smtp.gmail.com with ESMTPSA id n18-20020a05600c465200b003942a244f4esm6013539wmo.39.2022.05.05.08.10.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 08:10:09 -0700 (PDT) From: Alaa Mohamed To: netdev@vger.kernel.org Cc: outreachy@lists.linux.dev, roopa@nvidia.com, jdenham@redhat.com, sbrivio@redhat.com, jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, vladimir.oltean@nxp.com, claudiu.manoil@nxp.com, alexandre.belloni@bootlin.com, shshaikh@marvell.com, manishc@marvell.com, razor@blackwall.org, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com, GR-Linux-NIC-Dev@marvell.com, bridge@lists.linux-foundation.org, eng.alaamohamedsoliman.am@gmail.com Subject: [PATCH net-next v6 1/2] rtnetlink: add extack support in fdb del handlers Date: Thu, 5 May 2022 17:09:57 +0200 Message-Id: <1ff7bb13d4b762249d8695b707490decafb3f8ae.1651762830.git.eng.alaamohamedsoliman.am@gmail.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add extack support to .ndo_fdb_del in netdevice.h and all related methods. Signed-off-by: Alaa Mohamed --- changes in V3: fix errors reported by checkpatch.pl --- changes in V4: fix errors reported by checkpatch.pl --- changes in V5: resubmit after rebase. --- changes in V6: update the kdoc on ice_fdb_del --- drivers/net/ethernet/intel/ice/ice_main.c | 3 ++- drivers/net/ethernet/mscc/ocelot_net.c | 3 ++- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 3 ++- drivers/net/macvlan.c | 3 ++- drivers/net/vxlan/vxlan_core.c | 3 ++- include/linux/netdevice.h | 2 +- net/bridge/br_fdb.c | 3 ++- net/bridge/br_private.h | 3 ++- net/core/rtnetlink.c | 4 ++-- 9 files changed, 17 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethern= et/intel/ice/ice_main.c index fde839ef0613..95f6c9610372 100644 --- a/drivers/net/ethernet/intel/ice/ice_main.c +++ b/drivers/net/ethernet/intel/ice/ice_main.c @@ -5674,11 +5674,12 @@ ice_fdb_add(struct ndmsg *ndm, struct nlattr __alwa= ys_unused *tb[], * @dev: the net device pointer * @addr: the MAC address entry being added * @vid: VLAN ID + * @extack: netlink extended ack */ static int ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, - __always_unused u16 vid) + __always_unused u16 vid, struct netlink_ext_ack *extack) { int err; diff --git a/drivers/net/ethernet/mscc/ocelot_net.c b/drivers/net/ethernet/= mscc/ocelot_net.c index 247bc105bdd2..616d8127ef51 100644 --- a/drivers/net/ethernet/mscc/ocelot_net.c +++ b/drivers/net/ethernet/mscc/ocelot_net.c @@ -774,7 +774,8 @@ static int ocelot_port_fdb_add(struct ndmsg *ndm, struc= t nlattr *tb[], static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, - const unsigned char *addr, u16 vid) + const unsigned char *addr, u16 vid, + struct netlink_ext_ack *extack) { struct ocelot_port_private *priv =3D netdev_priv(dev); struct ocelot_port *ocelot_port =3D &priv->port; diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c b/drivers/net= /ethernet/qlogic/qlcnic/qlcnic_main.c index d320567b2cca..28476b982bab 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c @@ -368,7 +368,8 @@ static int qlcnic_set_mac(struct net_device *netdev, vo= id *p) static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *netdev, - const unsigned char *addr, u16 vid) + const unsigned char *addr, u16 vid, + struct netlink_ext_ack *extack) { struct qlcnic_adapter *adapter =3D netdev_priv(netdev); int err =3D -EOPNOTSUPP; diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index b00bc8173abe..cb27631c3a4d 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -1021,7 +1021,8 @@ static int macvlan_fdb_add(struct ndmsg *ndm, struct = nlattr *tb[], static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, - const unsigned char *addr, u16 vid) + const unsigned char *addr, u16 vid, + struct netlink_ext_ack *extack) { struct macvlan_dev *vlan =3D netdev_priv(dev); int err =3D -EINVAL; diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c index 8a5e3a6d32d7..ad0f2150cfdb 100644 --- a/drivers/net/vxlan/vxlan_core.c +++ b/drivers/net/vxlan/vxlan_core.c @@ -1280,7 +1280,8 @@ int __vxlan_fdb_delete(struct vxlan_dev *vxlan, /* Delete entry (via netlink) */ static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, - const unsigned char *addr, u16 vid) + const unsigned char *addr, u16 vid, + struct netlink_ext_ack *extack) { struct vxlan_dev *vxlan =3D netdev_priv(dev); union vxlan_addr ip; diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 7dccbfd1bf56..23731804a4b0 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1513,7 +1513,7 @@ struct net_device_ops { struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, - u16 vid); + u16 vid, struct netlink_ext_ack *extack); int (*ndo_fdb_del_bulk)(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c index 1a3d583fbc8e..e7f4fccb6adb 100644 --- a/net/bridge/br_fdb.c +++ b/net/bridge/br_fdb.c @@ -1253,7 +1253,8 @@ static int __br_fdb_delete(struct net_bridge *br, /* Remove neighbor entry with RTM_DELNEIGH */ int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, - const unsigned char *addr, u16 vid) + const unsigned char *addr, u16 vid, + struct netlink_ext_ack *extack) { struct net_bridge_vlan_group *vg; struct net_bridge_port *p =3D NULL; diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 6ae882cfae1c..06e5f6faa431 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -793,7 +793,8 @@ void br_fdb_update(struct net_bridge *br, struct net_br= idge_port *source, const unsigned char *addr, u16 vid, unsigned long flags); int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], - struct net_device *dev, const unsigned char *addr, u16 vid); + struct net_device *dev, const unsigned char *addr, u16 vid, + struct netlink_ext_ack *extack); int br_fdb_delete_bulk(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, u16 vid, struct netlink_ext_ack *extack); diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 73f2cbc440c9..3130df52b56a 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -4240,7 +4240,7 @@ static int rtnl_fdb_del(struct sk_buff *skb, struct n= lmsghdr *nlh, ops =3D br_dev->netdev_ops; if (!del_bulk) { if (ops->ndo_fdb_del) - err =3D ops->ndo_fdb_del(ndm, tb, dev, addr, vid); + err =3D ops->ndo_fdb_del(ndm, tb, dev, addr, vid, extack); } else { if (ops->ndo_fdb_del_bulk) err =3D ops->ndo_fdb_del_bulk(ndm, tb, dev, vid, @@ -4258,7 +4258,7 @@ static int rtnl_fdb_del(struct sk_buff *skb, struct n= lmsghdr *nlh, ops =3D dev->netdev_ops; if (!del_bulk) { if (ops->ndo_fdb_del) - err =3D ops->ndo_fdb_del(ndm, tb, dev, addr, vid); + err =3D ops->ndo_fdb_del(ndm, tb, dev, addr, vid, extack); else err =3D ndo_dflt_fdb_del(ndm, tb, dev, addr, vid); } else { -- 2.36.0 From nobody Sun May 10 10:32:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0A81C433EF for ; Thu, 5 May 2022 15:10:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381179AbiEEPOS (ORCPT ); Thu, 5 May 2022 11:14:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381102AbiEEPNy (ORCPT ); Thu, 5 May 2022 11:13:54 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A53D9A; Thu, 5 May 2022 08:10:13 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id e24so6513590wrc.9; Thu, 05 May 2022 08:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=m2VDhVRQPjsV1IPycPT/Y4TlTx8jaZtNzcIfdQQLUOE=; b=FFAziO4TJTHw3bMRuvzzhIrejv1YFi9kr+TvLjW7GH03D/Ms9GHVRb1qHk7xSkSRbh GvMrgZMhsdYjPOhZYy4728AKW1+YecbVpH26/5sPMvodoh8znUPVwIaI2wutBIoVS3id V3Q41qlgLA7wJ/1dKXp2jStShtULGJGPdIsH9P84DHXPzRSdX5kmeTdmbO9WPqM1ffop IyAnwBJwiXbCsYAGoORTH9/WeQHWkQqXtUWP0kWHWP9csb2E1yLcNsTDW2jlYDYEpICg qOYRXPsYrWAAkXYhyDF85cizqBuwsLLGTf+I/NervEbk5N0KYG0lmK2Ud1qeJE8t81t6 5HxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=m2VDhVRQPjsV1IPycPT/Y4TlTx8jaZtNzcIfdQQLUOE=; b=GijDkvHEr5CvbdwV50PwTMjf28rLEyJQYqPn4INIokPqcOXo1TidZBYN7IboAasRL8 pgAFAPNOuS0IxPuNw1z0wNVvuoWaK/z5JGBwLLKAd7nsHgKSkZ/SJRUTdzB2sblb1SnS h7ZlRba93xjWth4a2mXIKm20H8Yc55pyJ9IjFcvvo+lRzqxwS+ybmbCNjnJqyw07LFGB tpB/pR2JnVuOqhmh/AK4UrOY+3wEX5letC3NNLKRRpVCyylYad9a2YB+9Qq3Ltu9egOh q9Agyu3EvmBnHnHyS/wiiqfK7W8UC2XXlIelECZ4DeC3X18NwQj0Nqb5iVHECvTEbU+s Ps3A== X-Gm-Message-State: AOAM531b9KPJPYVwABcHPmy7+oTAIDmWDdjYt+6Dga7l1sllVt+SP+Pk xZLzFGPSXJo0GJgV8lHbjfE= X-Google-Smtp-Source: ABdhPJwqfM73K8adtgjCuTsQ1ipScmTZxb+Itq8+sQiiM3H9l56+FpM2fMwHfTDdKGvr4/YnWoJOlA== X-Received: by 2002:a5d:5547:0:b0:20c:7a44:d8e7 with SMTP id g7-20020a5d5547000000b0020c7a44d8e7mr9963872wrw.349.1651763411909; Thu, 05 May 2022 08:10:11 -0700 (PDT) Received: from alaa-emad ([197.57.200.226]) by smtp.gmail.com with ESMTPSA id m65-20020a1c2644000000b003942a244ecesm1624120wmm.19.2022.05.05.08.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 08:10:11 -0700 (PDT) From: Alaa Mohamed To: netdev@vger.kernel.org Cc: outreachy@lists.linux.dev, roopa@nvidia.com, jdenham@redhat.com, sbrivio@redhat.com, jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, vladimir.oltean@nxp.com, claudiu.manoil@nxp.com, alexandre.belloni@bootlin.com, shshaikh@marvell.com, manishc@marvell.com, razor@blackwall.org, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com, GR-Linux-NIC-Dev@marvell.com, bridge@lists.linux-foundation.org, eng.alaamohamedsoliman.am@gmail.com Subject: [PATCH net-next v6 2/2] net: vxlan: Add extack support to vxlan_fdb_delete Date: Thu, 5 May 2022 17:09:58 +0200 Message-Id: X-Mailer: git-send-email 2.36.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" This patch adds extack msg support to vxlan_fdb_delete and vxlan_fdb_parse. extack is used to propagate meaningful error msgs to the user of vxlan fdb netlink api Signed-off-by: Alaa Mohamed --- changes in V2: - fix spelling vxlan_fdb_delete - add missing braces - edit error message --- changes in V3: fix errors reported by checkpatch.pl --- changes in V4: - fix errors reported by checkpatch.pl - edit commit message. --- changes in V5: - edit commit message --- drivers/net/vxlan/vxlan_core.c | 38 ++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c index ad0f2150cfdb..429ce2168971 100644 --- a/drivers/net/vxlan/vxlan_core.c +++ b/drivers/net/vxlan/vxlan_core.c @@ -1129,19 +1129,25 @@ static void vxlan_fdb_dst_destroy(struct vxlan_dev = *vxlan, struct vxlan_fdb *f, static int vxlan_fdb_parse(struct nlattr *tb[], struct vxlan_dev *vxlan, union vxlan_addr *ip, __be16 *port, __be32 *src_vni, - __be32 *vni, u32 *ifindex, u32 *nhid) + __be32 *vni, u32 *ifindex, u32 *nhid, + struct netlink_ext_ack *extack) { struct net *net =3D dev_net(vxlan->dev); int err; if (tb[NDA_NH_ID] && (tb[NDA_DST] || tb[NDA_VNI] || tb[NDA_IFINDEX] || - tb[NDA_PORT])) - return -EINVAL; + tb[NDA_PORT])) { + NL_SET_ERR_MSG(extack, + "DST, VNI, ifindex and port are mutually exclusive with NH_ID"); + return -EINVAL; + } if (tb[NDA_DST]) { err =3D vxlan_nla_get_addr(ip, tb[NDA_DST]); - if (err) + if (err) { + NL_SET_ERR_MSG(extack, "Unsupported address family"); return err; + } } else { union vxlan_addr *remote =3D &vxlan->default_dst.remote_ip; @@ -1157,24 +1163,30 @@ static int vxlan_fdb_parse(struct nlattr *tb[], str= uct vxlan_dev *vxlan, } if (tb[NDA_PORT]) { - if (nla_len(tb[NDA_PORT]) !=3D sizeof(__be16)) + if (nla_len(tb[NDA_PORT]) !=3D sizeof(__be16)) { + NL_SET_ERR_MSG(extack, "Invalid vxlan port"); return -EINVAL; + } *port =3D nla_get_be16(tb[NDA_PORT]); } else { *port =3D vxlan->cfg.dst_port; } if (tb[NDA_VNI]) { - if (nla_len(tb[NDA_VNI]) !=3D sizeof(u32)) + if (nla_len(tb[NDA_VNI]) !=3D sizeof(u32)) { + NL_SET_ERR_MSG(extack, "Invalid vni"); return -EINVAL; + } *vni =3D cpu_to_be32(nla_get_u32(tb[NDA_VNI])); } else { *vni =3D vxlan->default_dst.remote_vni; } if (tb[NDA_SRC_VNI]) { - if (nla_len(tb[NDA_SRC_VNI]) !=3D sizeof(u32)) + if (nla_len(tb[NDA_SRC_VNI]) !=3D sizeof(u32)) { + NL_SET_ERR_MSG(extack, "Invalid src vni"); return -EINVAL; + } *src_vni =3D cpu_to_be32(nla_get_u32(tb[NDA_SRC_VNI])); } else { *src_vni =3D vxlan->default_dst.remote_vni; @@ -1183,12 +1195,16 @@ static int vxlan_fdb_parse(struct nlattr *tb[], str= uct vxlan_dev *vxlan, if (tb[NDA_IFINDEX]) { struct net_device *tdev; - if (nla_len(tb[NDA_IFINDEX]) !=3D sizeof(u32)) + if (nla_len(tb[NDA_IFINDEX]) !=3D sizeof(u32)) { + NL_SET_ERR_MSG(extack, "Invalid ifindex"); return -EINVAL; + } *ifindex =3D nla_get_u32(tb[NDA_IFINDEX]); tdev =3D __dev_get_by_index(net, *ifindex); - if (!tdev) + if (!tdev) { + NL_SET_ERR_MSG(extack, "Device not found"); return -EADDRNOTAVAIL; + } } else { *ifindex =3D 0; } @@ -1226,7 +1242,7 @@ static int vxlan_fdb_add(struct ndmsg *ndm, struct nl= attr *tb[], return -EINVAL; err =3D vxlan_fdb_parse(tb, vxlan, &ip, &port, &src_vni, &vni, &ifindex, - &nhid); + &nhid, extack); if (err) return err; @@ -1292,7 +1308,7 @@ static int vxlan_fdb_delete(struct ndmsg *ndm, struct= nlattr *tb[], int err; err =3D vxlan_fdb_parse(tb, vxlan, &ip, &port, &src_vni, &vni, &ifindex, - &nhid); + &nhid, extack); if (err) return err; -- 2.36.0