]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c1530e38e942e0cedd88748213b11791408c3de
treef0e2c41a24615366c953416d27762658d7a68c30
parent1c5e51da5e563636c456ddb809f1c5082c0879f0
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