flow_dissector: add support for IPPROTO_IPV6
authorTom Herbert <therbert@google.com>
Mon, 29 Jul 2013 18:07:42 +0000 (11:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2013 02:16:52 +0000 (19:16 -0700)
Support IPPROTO_IPV6 similar to IPPROTO_IPIP

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

index 3259446f3026baee03e3859507f5e865698febb1..ade9ff1c198049164f1aeda0fa3e8aa69ef4d8a4 100644 (file)
@@ -141,6 +141,9 @@ ipv6:
        case IPPROTO_IPIP:
                proto = htons(ETH_P_IP);
                goto ip;
+       case IPPROTO_IPV6:
+               proto = htons(ETH_P_IPV6);
+               goto ipv6;
        default:
                break;
        }