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)
commit63f9ba1bf8b6550365dc17a65d544cd75e68bf48
tree2b0f1f17b68cc35d182ab2d4aea0f77986708349
parenta131c2bf165684315f606fdd88cf80be22ba32f3
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