aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-03-29 13:43:09 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-03-29 13:43:09 +0000
commitd1a47429622acbd892228edb93cf6d527fd7c742 (patch)
treefc4ead68a51892c5eed27104b8c5148e1893b32b /sys
parent52f6886551304d7b3b6f774853fc77b9c8378ad2 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_fastfwd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c
index 45d1a47cf543f..0381d5f2d75c2 100644
--- a/sys/netinet/ip_fastfwd.c
+++ b/sys/netinet/ip_fastfwd.c
@@ -594,9 +594,8 @@ passout:
} while ((m = m0) != NULL);
if (error) {
/* Reclaim remaining fragments */
- for (; m; m = m0) {
+ for (m = m0; m; m = m0) {
m0 = m->m_nextpkt;
- m->m_nextpkt = NULL;
m_freem(m);
}
} else