summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2012-02-22 04:19:33 +0000
committerae <ae@FreeBSD.org>2012-02-22 04:19:33 +0000
commit1bd43b15e442d95af6e6734a34380c7e911e5721 (patch)
treeeef775c5eee8c94694d6cb265ee6112ae1772500 /sys/netinet
parent3ee51a00f36c11a6172d08d787943dfc63f66110 (diff)
downloadFreeBSD-src-1bd43b15e442d95af6e6734a34380c7e911e5721.zip
FreeBSD-src-1bd43b15e442d95af6e6734a34380c7e911e5721.tar.gz
Don't use `m' after m_megapullup.
PR: kern/165373 MFC after: 3 days
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ipfw/ip_fw_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ipfw/ip_fw_nat.c b/sys/netinet/ipfw/ip_fw_nat.c
index 1679a97..dbeb254 100644
--- a/sys/netinet/ipfw/ip_fw_nat.c
+++ b/sys/netinet/ipfw/ip_fw_nat.c
@@ -315,7 +315,7 @@ ipfw_nat(struct ip_fw_args *args, struct cfg_nat *t, struct mbuf *m)
}
if (retval == PKT_ALIAS_RESPOND)
- m->m_flags |= M_SKIP_FIREWALL;
+ mcl->m_flags |= M_SKIP_FIREWALL;
mcl->m_pkthdr.len = mcl->m_len = ntohs(ip->ip_len);
/*
OpenPOWER on IntegriCloud