From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT 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 6932EC282CE for ; Wed, 22 May 2019 19:04:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 341C02184B for ; Wed, 22 May 2019 19:04:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558551899; bh=SiNeIDZKPxr4Qbs0ek4jtgXkPdPts811iHlh2QhaM3Y=; h=From:To:Cc:Subject:Date:List-ID:From; b=w1BvURJOKOB8bGWdh5ztjEXJt4+zmy49jpw8k1tc5wEv9Zo7XmS8y1acP5W+eWaTf M+NuBYX5JI8LVhqbu9ehP/bL+KzGVbdQkGLcfux+ay1M0786zSQcQt9tWR8Br6cY6Q 3bgozY3NH6zWvOYs7org9aXeyylC32S4WhYxaeKw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729381AbfEVTE6 (ORCPT ); Wed, 22 May 2019 15:04:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:34994 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728533AbfEVTE5 (ORCPT ); Wed, 22 May 2019 15:04:57 -0400 Received: from kenny.it.cumulusnetworks.com. (fw.cumulusnetworks.com [216.129.126.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 168B820862; Wed, 22 May 2019 19:04:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558551897; bh=SiNeIDZKPxr4Qbs0ek4jtgXkPdPts811iHlh2QhaM3Y=; h=From:To:Cc:Subject:Date:From; b=k2/yFfZj6vLi3DLrCmSmVf3wj+WillJnKBACalEbGDeDIAm7k+flvQuXQ6cgolgYB UDWW11zlHrha7HsLTp3QQE/nqyoltKUeORcM5lBgJ9zwI7J3wPySQTqes+9stCwUaX P0V9DoX3h8Xmkprkyz6mi/LcQ+TSs4P+FJaAv8Bs= From: David Ahern To: davem@davemloft.net, netdev@vger.kernel.org Cc: idosch@mellanox.com, David Ahern Subject: [PATCH v2 net-next 0/8] net: Export functions for nexthop code Date: Wed, 22 May 2019 12:04:38 -0700 Message-Id: <20190522190446.15486-1-dsahern@kernel.org> X-Mailer: git-send-email 2.11.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: David Ahern This set exports ipv4 and ipv6 fib functions for use by the nexthop code. It also adds new ones to send route notifications if a nexthop configuration changes. v2 - repost of patches dropped at the end of the last dev window added patch 8 which exports nh_update_mtu since it is inline with the other patches David Ahern (8): ipv6: Add delete route hook to stubs ipv6: Add hook to bump sernum for a route to stubs ipv6: export function to send route updates ipv4: Add function to send route updates ipv4: export fib_check_nh ipv4: export fib_flush ipv4: export fib_info_update_nh_saddr ipv4: Rename and export nh_update_mtu include/net/ip6_fib.h | 7 +++++ include/net/ip_fib.h | 9 +++++- include/net/ipv6_stubs.h | 5 ++++ net/ipv4/fib_frontend.c | 2 +- net/ipv4/fib_semantics.c | 27 +++++++++--------- net/ipv4/fib_trie.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ net/ipv6/addrconf_core.c | 6 ++++ net/ipv6/af_inet6.c | 3 ++ net/ipv6/ip6_fib.c | 16 ++++++++--- net/ipv6/route.c | 32 +++++++++++++++++++++ 10 files changed, 159 insertions(+), 20 deletions(-) -- 2.11.0