svn commit: r193426 - user/kmacy/releng_7_2_fcs/sys/net
Kip Macy
kmacy at FreeBSD.org
Thu Jun 4 04:32:47 UTC 2009
Author: kmacy
Date: Thu Jun 4 04:32:46 2009
New Revision: 193426
URL: http://svn.freebsd.org/changeset/base/193426
Log:
don't lookup mbuf tag if ipfw not enabled
Modified:
user/kmacy/releng_7_2_fcs/sys/net/if_ethersubr.c
Modified: user/kmacy/releng_7_2_fcs/sys/net/if_ethersubr.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/net/if_ethersubr.c Thu Jun 4 04:29:15 2009 (r193425)
+++ user/kmacy/releng_7_2_fcs/sys/net/if_ethersubr.c Thu Jun 4 04:32:46 2009 (r193426)
@@ -430,9 +430,10 @@ ether_output_frame(struct ifnet *ifp, st
{
#if defined(INET) || defined(INET6)
INIT_VNET_NET(ifp->if_vnet);
- struct ip_fw *rule = ip_dn_claim_rule(m);
+ struct ip_fw *rule;
if (IPFW_LOADED && V_ether_ipfw != 0) {
+ rule = ip_dn_claim_rule(m);
if (ether_ipfw_chk(&m, ifp, &rule, 0) == 0) {
if (m) {
m_freem(m);
More information about the svn-src-user
mailing list