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