dpif-netdev: Use packet key to parse TCP flags.
authorJarno Rajahalme <jrajahalme@nicira.com>
Wed, 19 Mar 2014 23:13:32 +0000 (16:13 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 19 Mar 2014 23:13:32 +0000 (16:13 -0700)
commit855dd13c9a459c3dac41043c4d5bb7ecc7eaba72
tree9e5531720af1d91826d9490a03c70c0b5809d959
parent03fbdf8d9c80a5c2d517faecfa025c8b2ee505d3
dpif-netdev: Use packet key to parse TCP flags.

The flow that created the 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