|
@@ -732,9 +732,9 @@ static int callforward_do_filter(const union nf_inet_addr *src,
|
|
|
memset(&fl2, 0, sizeof(fl2));
|
|
|
fl2.daddr = dst->ip;
|
|
|
if (!afinfo->route(&init_net, (struct dst_entry **)&rt1,
|
|
|
- flowi4_to_flowi(&fl1))) {
|
|
|
+ flowi4_to_flowi(&fl1), false)) {
|
|
|
if (!afinfo->route(&init_net, (struct dst_entry **)&rt2,
|
|
|
- flowi4_to_flowi(&fl2))) {
|
|
|
+ flowi4_to_flowi(&fl2), false)) {
|
|
|
if (rt1->rt_gateway == rt2->rt_gateway &&
|
|
|
rt1->dst.dev == rt2->dst.dev)
|
|
|
ret = 1;
|
|
@@ -756,9 +756,9 @@ static int callforward_do_filter(const union nf_inet_addr *src,
|
|
|
memset(&fl2, 0, sizeof(fl2));
|
|
|
ipv6_addr_copy(&fl2.daddr, &dst->in6);
|
|
|
if (!afinfo->route(&init_net, (struct dst_entry **)&rt1,
|
|
|
- flowi6_to_flowi(&fl1))) {
|
|
|
+ flowi6_to_flowi(&fl1), false)) {
|
|
|
if (!afinfo->route(&init_net, (struct dst_entry **)&rt2,
|
|
|
- flowi6_to_flowi(&fl2))) {
|
|
|
+ flowi6_to_flowi(&fl2), false)) {
|
|
|
if (!memcmp(&rt1->rt6i_gateway, &rt2->rt6i_gateway,
|
|
|
sizeof(rt1->rt6i_gateway)) &&
|
|
|
rt1->dst.dev == rt2->dst.dev)
|