packet: packet_get_tcp_flags: use flow's innermost dl_type
authorSimon Horman <horms@verge.net.au>
Wed, 6 Feb 2013 13:53:54 +0000 (22:53 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 6 Feb 2013 17:20:04 +0000 (09:20 -0800)
commite8c16d83665f4a4e74e3cc7f736b3802b46f660c
treec260ee091f8aa5b35b3e91f44d42c251eece9a66
parent3779fc82d4822d0d688a65f47c0abb9657a1cf21
packet: packet_get_tcp_flags: use flow's innermost dl_type

Use the innermost dl_type when decoding L3 and L4 data from a packet.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/packets.c
lib/packets.h