dpif-netdev: Use packet key to parse TCP flags.
authorJarno Rajahalme <jrajahalme@nicira.com>
Wed, 19 Mar 2014 23:35:04 +0000 (16:35 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 19 Mar 2014 23:35:04 +0000 (16:35 -0700)
commitf16654b1ec8bb59bb3cb764a3a56dc6c476d0f1f
treef4ea5d41a9c0adf7516d3a03d98af256db43f79b
parent2ca476b8ae918f6db2af7c147ea0cb807a734939
dpif-netdev: Use packet key to parse TCP flags.

The flow that created the dp_netdev_flow might have wildcarded TCP
flags, or it may not be a TCP flow at all.  Fix this by using the
freshly extracted flow key to parse TCP flags.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-netdev.c