]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Fix tracking of flags seen in TCP flows.
authorBen Pfaff <blp@nicira.com>
Tue, 6 May 2014 23:48:38 +0000 (16:48 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Sun, 29 Jun 2014 21:10:51 +0000 (14:10 -0700)
commit967dbc04c9807d99d17d9c691314b462ff864340
tree22c1e9d24400afb53d774a7b20f4746b0053c18a
parentb17e968ce4f5cc57fb977477109f801edd148046
openvswitch: Fix tracking of flags seen in TCP flows.

Flow statistics need to take into account the TCP flags from the packet
currently being processed (in 'key'), not the TCP flags matched by the
flow found in the kernel flow table (in 'flow').

This bug made the Open vSwitch userspace fin_timeout action have no effect
in many cases.
This bug is introduced by commit 014cf1f44d189cef583 (openvswitch: Use
TCP flags in the flow key for stats.)

Reported-by: Len Gao <leng@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
net/openvswitch/datapath.c
net/openvswitch/flow.c
net/openvswitch/flow.h