flow_dissector: Add control/reporting of encapsulation
authorTom Herbert <tom@herbertland.com>
Tue, 1 Sep 2015 16:24:32 +0000 (09:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2015 22:06:23 +0000 (15:06 -0700)
commit823b96939578eae67b9d6c0e33a39d6a7b6401e7
treef0e2c41a24615366c953416d27762658d7a68c30
parent872b1abb1ed47a691f465fb3d285f6cf6bcd8663
flow_dissector: Add control/reporting of encapsulation

Add an input flag to flow dissector on rather dissection should stop
when encapsulation is detected (IP/IP or GRE). Also, add a key_control
flag that indicates encapsulation was encountered during the
dissection.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
net/core/flow_dissector.c