diff options
author | Jesse Gross <jesse@nicira.com> | 2011-11-01 15:25:14 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2011-11-02 16:00:10 -0700 |
commit | 515c382dafb3cc0f0499f477eddc0566602210cf (patch) | |
tree | 149103905d0800d3c99355e67491a9511dc333bc | |
parent | c4bed75bb424a0eed49734d7715fca14123a62da (diff) |
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 <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | datapath/flow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath/flow.c b/datapath/flow.c index 0084ca20..95297a52 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; |