summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-11-06 07:31:22 -0600
committerLuiz Otavio O Souza <luiz@netgate.com>2015-11-06 07:31:22 -0600
commit70c7d0e9cafc983b8ee8fd1b63baa719da18ce1b (patch)
treeb90a3f558f89733a76b3d56108e2e73552921908 /sys/netinet/ip_input.c
parent9806bf56804f217429d9bc2580b7b2b0a6f6fc81 (diff)
downloadFreeBSD-src-70c7d0e9cafc983b8ee8fd1b63baa719da18ce1b.zip
FreeBSD-src-70c7d0e9cafc983b8ee8fd1b63baa719da18ce1b.tar.gz
Revert "Replace the fastforward path with tryforward which does not require a sysctl and will always be on."
This reverts commit c58873dc9abc56028cc3435f692fd3583bd143af. TAG: tryforward
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 5009346..287417c 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -714,10 +714,6 @@ ours:
hlen = ip->ip_hl << 2;
}
- /* Try to forward the packet, but if we fail continue */
- if (ip_tryforward(m) == NULL)
- return;
-
#ifdef IPSEC
/*
* enforce IPsec policy checking if we are seeing last header.
OpenPOWER on IntegriCloud