]> git.baikalelectronics.ru Git - kernel.git/commit
net: fib_rules: do not flow dissect local packets
authorPetar Penkov <ppenkov@google.com>
Fri, 5 Jul 2019 18:46:43 +0000 (11:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jul 2019 21:22:53 +0000 (14:22 -0700)
commite6cdae80d3f14eb24a8f530286b8f442d6d3bf22
tree2b0f1f17b68cc35d182ab2d4aea0f77986708349
parent2016ba9bf9f315a919cd86ac33fbbb34d6950a09
net: fib_rules: do not flow dissect local packets

Rules matching on loopback iif do not need early flow dissection as the
packet originates from the host. Stop counting such rules in
fib_rule_requires_fldissect

Signed-off-by: Petar Penkov <ppenkov@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/fib_rules.h