projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add missing <stdint.h> includes.
[openvswitch]
/
lib
/
dpif-netdev.c
diff --git
a/lib/dpif-netdev.c
b/lib/dpif-netdev.c
index e9f006c3479978ab43f63de6c4c35e6c90f62d3e..1daa93b299aa53f64d05b9ff3ff940669e07c727 100644
(file)
--- a/
lib/dpif-netdev.c
+++ b/
lib/dpif-netdev.c
@@
-752,7
+752,7
@@
dpif_netdev_validate_actions(const union odp_action *actions, int n_actions,
case ODPAT_SET_VLAN_PCP:
*mutates = true;
- if (a->vlan_pcp.vlan_pcp & ~
VLAN_PCP_MASK
) {
+ if (a->vlan_pcp.vlan_pcp & ~
(VLAN_PCP_MASK >> VLAN_PCP_SHIFT)
) {
return EINVAL;
}
break;