Date: Sat, 9 Feb 2019 03:00:00 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r343927 - head/sys/netgraph Message-ID: <201902090300.x193004J015584@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Sat Feb 9 03:00:00 2019 New Revision: 343927 URL: https://svnweb.freebsd.org/changeset/base/343927 Log: Remove remnants of byte order manipulation, back when FreeBSD stack stored packets in host byte order. Modified: head/sys/netgraph/ng_ipfw.c Modified: head/sys/netgraph/ng_ipfw.c ============================================================================== --- head/sys/netgraph/ng_ipfw.c Sat Feb 9 02:10:03 2019 (r343926) +++ head/sys/netgraph/ng_ipfw.c Sat Feb 9 03:00:00 2019 (r343927) @@ -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; @@ -329,8 +328,6 @@ ng_ipfw_input(struct mbuf **m0, int dir, struct ip_fw_ if (m->m_len < sizeof(struct ip) && (m = m_pullup(m, sizeof(struct ip))) == NULL) return (EINVAL); - - ip = mtod(m, struct ip *); NG_SEND_DATA_ONLY(error, hook, m);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902090300.x193004J015584>