Commit 65348ca8 authored by David S. Miller's avatar David S. Miller

[IPV4]: Fix typos in ipip.c commented out code.

parent a6aad08c
......@@ -433,7 +433,7 @@ static void ipip_err(struct sk_buff *skb, void *__unused)
fl.fl4_src = eiph->saddr;
fl.fl4_tos = eiph->tos;
if (ip_route_output_key(&rt, &fl) ||
rt->u.dst.dev->type != ARPHRD_IPGRE) {
rt->u.dst.dev->type != ARPHRD_TUNNEL) {
ip_rt_put(rt);
kfree_skb(skb2);
return;
......@@ -441,7 +441,7 @@ static void ipip_err(struct sk_buff *skb, void *__unused)
} else {
ip_rt_put(rt);
if (ip_route_input(skb2, eiph->daddr, eiph->saddr, eiph->tos, skb2->dev) ||
skb2->dst->dev->type != ARPHRD_IPGRE) {
skb2->dst->dev->type != ARPHRD_TUNNEL) {
kfree_skb(skb2);
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment