Subject: [PATCH] nethost: Update ipv6 sit.c to deal with routing changes. From: Eric W. Biederman Date: 1133989754 -0700 The ipip6 tunnel is a network device so I don't belive it even cares what host I am. So simply avoid the host parameter. --- net/ipv6/sit.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 0fc8668a697ab903ce9f940db87bc612ac60a461 diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index ef89608..39daed3 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c @@ -480,7 +480,7 @@ static int ipip6_tunnel_xmit(struct sk_b .tos = RT_TOS(tos) } }, .oif = tunnel->parms.link, .proto = IPPROTO_IPV6 }; - if (ip_route_output_key(&rt, &fl)) { + if (ip_route_output_key(NULL, &rt, &fl)) { tunnel->stat.tx_carrier_errors++; goto tx_error_icmp; } @@ -749,7 +749,7 @@ static int ipip6_tunnel_init(struct net_ .oif = tunnel->parms.link, .proto = IPPROTO_IPV6 }; struct rtable *rt; - if (!ip_route_output_key(&rt, &fl)) { + if (!ip_route_output_key(NULL, &rt, &fl)) { tdev = rt->u.dst.dev; ip_rt_put(rt); } -- 1.0.GIT