From d22fc1ef68cd37cb1a604febe6da88a94918607f Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Sat, 10 May 2008 00:27:13 -0700 Subject: [PATCH] IPv6 is not supported in OpenFlow, so don't try to parse it. --- datapath/flow.c | 9 --------- 1 file changed, 9 deletions(-) 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); -- 2.30.2