Support matching and modifying IP ECN bits.
[openvswitch] / datapath / datapath.c
index 21efd02f321bbb2c742763c6f3975cf48f08b53d..5660f2d675e50375760c4e782af2d9f5446df45f 100644 (file)
@@ -41,7 +41,6 @@
 #include <linux/openvswitch.h>
 #include <linux/rculist.h>
 #include <linux/dmi.h>
-#include <net/inet_ecn.h>
 #include <net/genetlink.h>
 
 #include "checksum.h"
@@ -589,9 +588,6 @@ static int validate_action_key(const struct nlattr *a,
                if (ipv4_key->ipv4_proto != flow_key->ip.proto)
                        return -EINVAL;
 
-               if (ipv4_key->ipv4_tos & INET_ECN_MASK)
-                       return -EINVAL;
-
                if (ipv4_key->ipv4_frag != flow_key->ip.frag)
                        return -EINVAL;