OSDN Git Service

selftests: Lowest IPv4 address in a subnet is valid
authorSeth David Schoen <schoen@loyalty.org>
Thu, 13 May 2021 04:38:25 +0000 (21:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 20:47:58 +0000 (13:47 -0700)
commit6101ca0384e3778cf6ad4f938fbc094a0386ec01
tree23c6aecbf6b979243a90a6b025f1419eb7fbfaa7
parent94c821c74bf5fe0c25e09df5334a16f98608db90
selftests: Lowest IPv4 address in a subnet is valid

Expect the lowest IPv4 address in a subnet to be assignable
and addressable as a unicast (non-broadcast) address on a
local network segment.

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>
tools/testing/selftests/net/unicast_extensions.sh