flow_dissector: clean up IPIP case
authorTom Herbert <therbert@google.com>
Mon, 29 Jul 2013 18:07:36 +0000 (11:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2013 02:16:51 +0000 (19:16 -0700)
Explicitly set proto to ETH_P_IP and jump directly to ip processing.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c

index 00ee068efc1c2374bc0195d9458eca00392359c6..3259446f3026baee03e3859507f5e865698febb1 100644 (file)
@@ -139,7 +139,8 @@ ipv6:
                break;
        }
        case IPPROTO_IPIP:
-               goto again;
+               proto = htons(ETH_P_IP);
+               goto ip;
        default:
                break;
        }