projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4bed75
)
datapath: Add IPv6 to list of parsed EtherTypes.
author
Jesse Gross
<jesse@nicira.com>
Tue, 1 Nov 2011 22:25:14 +0000
(15:25 -0700)
committer
Jesse Gross
<jesse@nicira.com>
Wed, 2 Nov 2011 23:00:10 +0000
(16:00 -0700)
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>
datapath/flow.c
patch
|
blob
|
history
diff --git
a/datapath/flow.c
b/datapath/flow.c
index 0084ca20771e8875d0fe28e0220baa676a19ef89..95297a52ce5953493a21408adab503763ebd5089 100644
(file)
--- 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;