diff options
author | Alexey Kodanev <alexey.kodanev@oracle.com> | 2019-08-23 20:51:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-25 14:34:08 -0700 |
commit | 803f3e22ae10003a83c781498c0ac34cfe3463ff (patch) | |
tree | 724d97a07ccd049bbbab364d16fef737a5f17e83 /drivers/net | |
parent | 9b5f684182403f2b338f797c44eca0061c797dc8 (diff) |
ipv4: mpls: fix mpls_xmit for iptunnel
When using mpls over gre/gre6 setup, rt->rt_gw4 address is not set, the
same for rt->rt_gw_family. Therefore, when rt->rt_gw_family is checked
in mpls_xmit(), neigh_xmit() call is skipped. As a result, such setup
doesn't work anymore.
This issue was found with LTP mpls03 tests.
Fixes: 1550c171935d ("ipv4: Prepare rtable for IPv6 gateway")
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions