diff options
Diffstat (limited to 'net/openvswitch/datapath.c')
| -rw-r--r-- | net/openvswitch/datapath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index 5bc5a4e64758..1408adc2a2a7 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c | |||
| @@ -671,7 +671,7 @@ static int ovs_flow_cmd_fill_info(struct sw_flow *flow, struct datapath *dp, | |||
| 671 | used = flow->used; | 671 | used = flow->used; |
| 672 | stats.n_packets = flow->packet_count; | 672 | stats.n_packets = flow->packet_count; |
| 673 | stats.n_bytes = flow->byte_count; | 673 | stats.n_bytes = flow->byte_count; |
| 674 | tcp_flags = flow->tcp_flags; | 674 | tcp_flags = (u8)ntohs(flow->tcp_flags); |
| 675 | spin_unlock_bh(&flow->lock); | 675 | spin_unlock_bh(&flow->lock); |
| 676 | 676 | ||
| 677 | if (used && | 677 | if (used && |
