Commit fca41895 authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller

flow_dissector: clean up IPIP case

Explicitly set proto to ETH_P_IP and jump directly to ip processing.
Signed-off-by: default avatarTom Herbert <therbert@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 69e12d88
...@@ -139,7 +139,8 @@ bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow) ...@@ -139,7 +139,8 @@ bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow)
break; break;
} }
case IPPROTO_IPIP: case IPPROTO_IPIP:
goto again; proto = htons(ETH_P_IP);
goto ip;
default: default:
break; break;
} }
......
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