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 00ee068..3259446 100644 (file)
@@ -139,7 +139,8 @@ ipv6:
                break;
        }
        case IPPROTO_IPIP:
-               goto again;
+               proto = htons(ETH_P_IP);
+               goto ip;
        default:
                break;
        }