From 7d3df83cfa4864534c167a3f9b5d140557f8981d Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Sat, 9 Feb 2019 03:00:00 +0000 Subject: [PATCH] Remove remnants of byte order manipulation, back when FreeBSD stack stored packets in host byte order. --- sys/netgraph/ng_ipfw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/netgraph/ng_ipfw.c b/sys/netgraph/ng_ipfw.c index 63de133b949..c7d24c8d4f4 100644 --- a/sys/netgraph/ng_ipfw.c +++ b/sys/netgraph/ng_ipfw.c @@ -288,7 +288,6 @@ static int ng_ipfw_input(struct mbuf **m0, int dir, struct ip_fw_args *fwa, int tee) { struct mbuf *m; - struct ip *ip; hook_p hook; int error = 0; @@ -330,8 +329,6 @@ ng_ipfw_input(struct mbuf **m0, int dir, struct ip_fw_args *fwa, int tee) (m = m_pullup(m, sizeof(struct ip))) == NULL) return (EINVAL); - ip = mtod(m, struct ip *); - NG_SEND_DATA_ONLY(error, hook, m); return (error);