flow: Enable retrieval of TCP flags from IPv6 traffic.
authorJesse Gross <jesse@nicira.com>
Fri, 23 Mar 2012 20:25:31 +0000 (13:25 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 23 Mar 2012 23:01:12 +0000 (16:01 -0700)
commit11460e2316b88f0bd0ea0005d94338d800ea16bd
tree1c4a83564b0b7f99d0acc9ae0de7a09922d02627
parent9c47b45a3bb56009bf2553c493d097eeadd7e5c2
flow: Enable retrieval of TCP flags from IPv6 traffic.

We currently check that a packet is IPv4 and TCP before fetching the
TCP flags.  This enables fetching from IPv6 packets as well.

Bug #10194

Reported-by: Michael Mao <mmao@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/flow.c
lib/dpif-netdev.c