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>
Sat, 24 Mar 2012 00:16:10 +0000 (17:16 -0700)
commitd4510d0aaa0a519f24d7bcbf86eaacfb39d474a7
treee9be68b1f4b666ea0276e08fc2eeafd84857eb86
parent73eb8208354d560bee34195193801329fb6f7339
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