datapath: Read tcp flags only then the tranport header is present.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 10 Feb 2014 16:52:25 +0000 (08:52 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 10 Feb 2014 16:52:25 +0000 (08:52 -0800)
commitac3e564e4392ef1fad53f329c14fa4972c87a952
tree79b20ee0fc5197ce5cf1cedf41471e7a177ae379
parenta0df641dc3a4d01d48b6ed899f8e10aaf8d4bf2b
datapath: Read tcp flags only then the tranport header is present.

Only the first IP fragment can have a TCP header, check for this.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c