diff options
| author | David S. Miller <[email protected]> | 2019-02-26 21:23:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-26 21:23:17 +0000 |
| commit | d8e96745a97fb8cf7bd8b239f13b07a5dd313e60 (patch) | |
| tree | d55dc8f0f63c6ffe967e69a3f2597a1e9ffaa06e /net/tipc/socket.c | |
| parent | net: avoid use IPCB in cipso_v4_error (diff) | |
| parent | mpls: Return error for RTA_GATEWAY attribute (diff) | |
| download | kernel-d8e96745a97fb8cf7bd8b239f13b07a5dd313e60.tar.gz kernel-d8e96745a97fb8cf7bd8b239f13b07a5dd313e60.zip | |
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 <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
