From 515c382dafb3cc0f0499f477eddc0566602210cf Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Tue, 1 Nov 2011 15:25:14 -0700 Subject: [PATCH] datapath: Add IPv6 to list of parsed EtherTypes. The kernel can parse IPv6, so if it receives a flow with an IPv6 EtherType then it expects to get IPv6 information as well. Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- datapath/flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/datapath/flow.c b/datapath/flow.c index 0084ca207..95297a52c 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -1094,6 +1094,7 @@ int flow_from_nlattrs(struct sw_flow_key *swkey, int *key_lenp, case OVS_KEY_ATTR_ETHERTYPE: if (swkey->eth.type == htons(ETH_P_IP) || + swkey->eth.type == htons(ETH_P_IPV6) || swkey->eth.type == htons(ETH_P_ARP)) goto invalid; goto ok; -- 2.43.0