git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Use tcp_flags from flow.
[sliver-openvswitch.git]
/
lib
/
dpif-netdev.c
diff --git
a/lib/dpif-netdev.c
b/lib/dpif-netdev.c
index
9305b36
..
21f0d9a
100644
(file)
--- a/
lib/dpif-netdev.c
+++ b/
lib/dpif-netdev.c
@@
-1713,7
+1713,7
@@
dp_netdev_flow_used(struct dp_netdev_flow *netdev_flow,
const struct ofpbuf *packet,
const struct flow *key)
{
- uint16_t tcp_flags =
packet_get_tcp_flags(packet, key
);
+ uint16_t tcp_flags =
ntohs(key->tcp_flags
);
long long int now = time_msec();
struct dp_netdev_flow_stats *bucket;