diff options
| author | Max Khon <fjoe@FreeBSD.org> | 2002-04-14 16:43:37 +0000 |
|---|---|---|
| committer | Max Khon <fjoe@FreeBSD.org> | 2002-04-14 16:43:37 +0000 |
| commit | 5fe48d8deeef56a625dd25f4516332cf010a5f1d (patch) | |
| tree | 7c27238d8b134ca20ec171b9db6b9002cc563ea1 /sys/net | |
| parent | 2abb6d09ee5c69ccc3d1e83656574fa3876a4752 (diff) | |
Notes
Diffstat (limited to 'sys/net')
| -rw-r--r-- | sys/net/if_arcsubr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c index 471eab48f88e..326cb8300033 100644 --- a/sys/net/if_arcsubr.c +++ b/sys/net/if_arcsubr.c @@ -294,16 +294,14 @@ arc_frag_next(ifp) /* we CAN'T have short packets here */ ac->curr_frag = m_split(m, 504, M_DONTWAIT); if (ac->curr_frag == 0) { - m_free(m); + m_freem(m); return 0; } M_PREPEND(m, ARC_HDRNEWLEN, M_DONTWAIT); if (m == 0) { - m_free(ac->curr_frag); + m_freem(ac->curr_frag); ac->curr_frag = 0; - - m_free(m); return 0; } |
