ip: Treat IPv4 segment's lowest address as unicast
authorSeth David Schoen <schoen@loyalty.org>
Thu, 13 May 2021 04:37:49 +0000 (21:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 20:47:58 +0000 (13:47 -0700)
commit94c821c74bf5fe0c25e09df5334a16f98608db90
tree4e1d3a5f1d1cc1356ede4183de65c2af8301ebc1
parent77091933e453a258bbe9ff2aeb1c8d6fc1db7ef9
ip: Treat IPv4 segment's lowest address as unicast

Treat only the highest, not the lowest, IPv4 address within a local
subnet as a broadcast address.

Signed-off-by: Seth David Schoen <schoen@loyalty.org>
Suggested-by: John Gilmore <gnu@toad.com>
Acked-by: Dave Taht <dave.taht@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c