net: lwtunnel: Add extack to encap attr validation
authorDavid Ahern <dsahern@gmail.com>
Sat, 27 May 2017 22:19:27 +0000 (16:19 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 15:55:31 +0000 (11:55 -0400)
commitc255bd681d1a93fff2a2c249d91449cce830ac64
tree926aa52879b0b1c3f348e37e599375c0e7a06641
parent78055998954b7a3e6c31eb24d1d26f0b63a7ec0d
net: lwtunnel: Add extack to encap attr validation

Pass extack down to lwtunnel_valid_encap_type and
lwtunnel_valid_encap_type_attr. Add messages for unknown
or unsupported encap types.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/lwtunnel.h
net/core/lwtunnel.c
net/ipv4/fib_frontend.c
net/ipv6/route.c