diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-07-20 12:20:16 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-23 10:19:49 -0500 |
commit | 3acccfc67d3aa4611142e2171337c7c494b52efb (patch) | |
tree | b08c98364394eb863a23cd12a09ee7fd92ac14ea /slirp/ip_icmp.c | |
parent | 5a82362ad0bf06bba3377d63ca0ecd05fb74f322 (diff) |
slirp: Replace m_freem with m_free
Remove this pointless wrapping.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/ip_icmp.c')
-rw-r--r-- | slirp/ip_icmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slirp/ip_icmp.c b/slirp/ip_icmp.c index 0cd129cc97..4f10826b3f 100644 --- a/slirp/ip_icmp.c +++ b/slirp/ip_icmp.c @@ -81,7 +81,7 @@ icmp_input(struct mbuf *m, int hlen) */ if (icmplen < ICMP_MINLEN) { /* min 8 bytes payload */ freeit: - m_freem(m); + m_free(m); goto end_error; } @@ -155,11 +155,11 @@ icmp_input(struct mbuf *m, int hlen) case ICMP_TSTAMP: case ICMP_MASKREQ: case ICMP_REDIRECT: - m_freem(m); + m_free(m); break; default: - m_freem(m); + m_free(m); } /* swith */ end_error: |