From: David S. Miller Date: Tue, 26 Feb 2019 21:23:17 +0000 (-0800) Subject: Merge branch 'net-fail-route' X-Git-Tag: v5.4-rc1~1562^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8e96745a97fb8cf7bd8b239f13b07a5dd313e60;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'net-fail-route' David Ahern says: ==================== net: Fail route add with unsupported nexthop attribute RTA_VIA was added for MPLS as a way of specifying a gateway from a different address family. IPv4 and IPv6 do not currently support RTA_VIA so using it leads to routes that are not what the user intended. Catch and fail - returning a proper error message. MPLS on the other hand does not support RTA_GATEWAY since it does not make sense to have a nexthop from the MPLS address family. Similarly, catch and fail - returning a proper error message. ==================== Signed-off-by: David S. Miller --- d8e96745a97fb8cf7bd8b239f13b07a5dd313e60