From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Long Subject: [PATCHv2 net-next 0/2] route: add support and selftests for directed broadcast forwarding Date: Mon, 2 Jul 2018 14:30:38 +0800 Message-ID: Cc: davem@davemloft.net, David Ahern , Davide Caratti , idosch@idosch.org To: network dev Return-path: Received: from mail-pf0-f195.google.com ([209.85.192.195]:43070 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753287AbeGBGat (ORCPT ); Mon, 2 Jul 2018 02:30:49 -0400 Received: by mail-pf0-f195.google.com with SMTP id y8-v6so7001861pfm.10 for ; Sun, 01 Jul 2018 23:30:49 -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. 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 | 142 +++++++++++++++++++++ 6 files changed, 161 insertions(+), 1 deletion(-) create mode 100755 tools/testing/selftests/net/forwarding/router_broadcast.sh -- 2.1.0