]> 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)
commit51584ec7ff043a16371bff1a2924d172ad646ebc
tree22c1e9d24400afb53d774a7b20f4746b0053c18a
parentd33ebfc096b3c1d715f39f5b874019c18a1beda7
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 d3af6ec78eed57fe2b5 (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