diff options
author | David S. Miller <davem@davemloft.net> | 2019-02-26 13:23:17 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-26 13:23:17 -0800 |
commit | d8e96745a97fb8cf7bd8b239f13b07a5dd313e60 (patch) | |
tree | d55dc8f0f63c6ffe967e69a3f2597a1e9ffaa06e /net/tipc/socket.c | |
parent | 3da1ed7ac398f34fff1694017a07054d69c5f5c5 (diff) | |
parent | be48220edd48ca0d569782992840488a52373a24 (diff) |
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 <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions