From: Justin Pettit Date: Sat, 10 May 2008 07:27:13 +0000 (-0700) Subject: IPv6 is not supported in OpenFlow, so don't try to parse it. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d22fc1ef68cd37cb1a604febe6da88a94918607f;p=openvswitch IPv6 is not supported in OpenFlow, so don't try to parse it. --- diff --git a/datapath/flow.c b/datapath/flow.c index d207bfa3..a6164b5d 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -277,14 +276,6 @@ void flow_extract(struct sk_buff *skb, uint16_t in_port, key->tp_dst = th->dest; return; - } else if (key->dl_type == htons(ETH_P_IPV6)) { - struct ipv6hdr *nh = ipv6_hdr(skb); - key->nw_src = hash_in6(&nh->saddr); - key->nw_dst = hash_in6(&nh->daddr); - /* FIXME: Need to traverse next-headers until we find the - * upper-layer header. */ - key->nw_proto = 0; - goto no_th; } else if (key->dl_type == htons(ETH_P_ARP)) { /* just barely within 46-byte minimum packet */ struct arp_eth_hdr *ah = (struct arp_eth_hdr *)skb_network_header(skb);