route.c (ed32f8d42cee118b075e4372a55c7739a11094b2) | route.c (cff6a327d78b05c98e0d1c4be77225ea2c0bfe8e) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Linux INET6 implementation 4 * FIB front-end. 5 * 6 * Authors: 7 * Pedro Roque <roque@di.fc.ul.pt> 8 */ --- 1937 unchanged lines hidden (view full) --- 1946 struct fib6_nh_match_arg arg = { 1947 .dev = rt->dst.dev, 1948 .gw = &rt->rt6i_gateway, 1949 }; 1950 1951 nexthop_for_each_fib6_nh(from->nh, fib6_nh_find_match, &arg); 1952 1953 if (!arg.match) | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Linux INET6 implementation 4 * FIB front-end. 5 * 6 * Authors: 7 * Pedro Roque <roque@di.fc.ul.pt> 8 */ --- 1937 unchanged lines hidden (view full) --- 1946 struct fib6_nh_match_arg arg = { 1947 .dev = rt->dst.dev, 1948 .gw = &rt->rt6i_gateway, 1949 }; 1950 1951 nexthop_for_each_fib6_nh(from->nh, fib6_nh_find_match, &arg); 1952 1953 if (!arg.match) |
1954 return; | 1954 goto unlock; |
1955 fib6_nh = arg.match; 1956 } else { 1957 fib6_nh = from->fib6_nh; 1958 } 1959 fib6_nh_update_exception(fib6_nh, from->fib6_src.plen, rt); 1960unlock: 1961 rcu_read_unlock(); 1962} --- 4454 unchanged lines hidden --- | 1955 fib6_nh = arg.match; 1956 } else { 1957 fib6_nh = from->fib6_nh; 1958 } 1959 fib6_nh_update_exception(fib6_nh, from->fib6_src.plen, rt); 1960unlock: 1961 rcu_read_unlock(); 1962} --- 4454 unchanged lines hidden --- |