From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Long Subject: [PATCHv4 net-next 0/2] route: add support and selftests for directed broadcast forwarding Date: Fri, 27 Jul 2018 16:37:27 +0800 Message-ID: Cc: davem@davemloft.net, David Ahern , Davide Caratti , idosch@idosch.org To: network dev Return-path: Received: from mail-pl0-f67.google.com ([209.85.160.67]:34948 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729420AbeG0J61 (ORCPT ); Fri, 27 Jul 2018 05:58:27 -0400 Received: by mail-pl0-f67.google.com with SMTP id w3-v6so2026595plq.2 for ; Fri, 27 Jul 2018 01:37:38 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Patch 1/2 is the feature and 2/2 is the selftest. Check the changelog on each of them to know the details. v1->v2: - fix a typo in changelog. - fix an uapi break that Davide noticed. - flush route cache when bc_forwarding is changed. - add the selftest for this patch as Ido's suggestion. v2->v3: - fix an incorrect 'if check' in devinet_conf_proc as David Ahern noticed. - extend the selftest after one David Ahern fix for vrf. v3->v4: - improve the output log in the selftest as David Ahern suggested. Xin Long (2): route: add support for directed broadcast forwarding selftests: add a selftest for directed broadcast forwarding include/linux/inetdevice.h | 1 + include/uapi/linux/ip.h | 1 + include/uapi/linux/netconf.h | 1 + net/ipv4/devinet.c | 11 + net/ipv4/route.c | 6 +- .../selftests/net/forwarding/router_broadcast.sh | 233 +++++++++++++++++++++ 6 files changed, 252 insertions(+), 1 deletion(-) create mode 100755 tools/testing/selftests/net/forwarding/router_broadcast.sh -- 2.1.0