flow_keys: include thoff into flow_keys for later usage
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 19 Mar 2013 06:39:29 +0000 (06:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:14:36 +0000 (12:14 -0400)
commit8ed781668dd49b608f1e67a22e3b445fd0c2cd6f
treeee86a37fae38bbe6e12e489cb94ce0dfea0fe59d
parente0ebcb80cbf2022db839186b52f8de4591883559
flow_keys: include thoff into flow_keys for later usage

In skb_flow_dissect(), we perform a dissection of a skbuff. Since we're
doing the work here anyway, also store thoff for a later usage, e.g. in
the BPF filter.

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_keys.h
net/core/flow_dissector.c