aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/lwtunnel.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-05-27 16:19:26 -0600
committerDavid S. Miller <davem@davemloft.net>2017-05-30 11:55:31 -0400
commit78055998954b7a3e6c31eb24d1d26f0b63a7ec0d (patch)
treead1f4fd34da0b9faee5219a3490cbf729228ba96 /net/core/lwtunnel.c
parentnet: ipv4: refactor key and length checks (diff)
downloadlinux-dev-78055998954b7a3e6c31eb24d1d26f0b63a7ec0d.tar.xz
linux-dev-78055998954b7a3e6c31eb24d1d26f0b63a7ec0d.zip
net: ipv4: Add extack message for invalid prefix or length
Add extack error message for invalid prefix length and invalid prefix. Example of the latter is a route spec containing 172.16.100.1/24, where the /24 mask means the lower 8-bits should be 0. Amazing how easy that one is to overlook when an EINVAL is returned. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/lwtunnel.c')
0 files changed, 0 insertions, 0 deletions