summaryrefslogtreecommitdiffstats
path: root/sys/net/if_fwsubr.c
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2015-11-05 07:26:32 +0000
committergnn <gnn@FreeBSD.org>2015-11-05 07:26:32 +0000
commit00e8eec3f8320d4d95d8b8b3e386bc9725612ee2 (patch)
tree4a9828d8f2729e8c87988a3078cdbed2e9ed90a8 /sys/net/if_fwsubr.c
parent1ca4e362415a2eda317eb5f7b7c98ae2bb1b4b52 (diff)
downloadFreeBSD-src-00e8eec3f8320d4d95d8b8b3e386bc9725612ee2.zip
FreeBSD-src-00e8eec3f8320d4d95d8b8b3e386bc9725612ee2.tar.gz
Replace the fastforward path with tryforward which does not require a
sysctl and will always be on. The former split between default and fast forwarding is removed by this commit while preserving the ability to use all network stack features. Differential Revision: https://reviews.freebsd.org/D4042 Reviewed by: ae, melifaro, olivier, rwatson MFC after: 1 month Sponsored by: Rubicon Communications (Netgate)
Diffstat (limited to 'sys/net/if_fwsubr.c')
-rw-r--r--sys/net/if_fwsubr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/if_fwsubr.c b/sys/net/if_fwsubr.c
index f8ec120..626b1cb 100644
--- a/sys/net/if_fwsubr.c
+++ b/sys/net/if_fwsubr.c
@@ -605,8 +605,6 @@ firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src)
switch (type) {
#ifdef INET
case ETHERTYPE_IP:
- if ((m = ip_fastforward(m)) == NULL)
- return;
isr = NETISR_IP;
break;
OpenPOWER on IntegriCloud