Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pcmcia Add a missing return after freeing an mbuf. ...



details:   https://anonhg.NetBSD.org/src/rev/0189e71ba9e7
branches:  trunk
changeset: 500467:0189e71ba9e7
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Dec 12 17:25:34 2000 +0000

description:
Add a missing return after freeing an mbuf.  From Dave Huang <khym%bga.com@localhost>.

diffstat:

 sys/dev/pcmcia/if_ray.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f63ca49d4212 -r 0189e71ba9e7 sys/dev/pcmcia/if_ray.c
--- a/sys/dev/pcmcia/if_ray.c   Tue Dec 12 17:18:58 2000 +0000
+++ b/sys/dev/pcmcia/if_ray.c   Tue Dec 12 17:25:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ray.c,v 1.24 2000/12/11 17:53:19 thorpej Exp $      */
+/*     $NetBSD: if_ray.c,v 1.25 2000/12/12 17:25:34 thorpej Exp $      */
 /* 
  * Copyright (c) 2000 Christian E. Hopps
  * All rights reserved.
@@ -1577,6 +1577,7 @@
                        break;
                }
                m_freem(m);
+               return;
        } else if ((fc0 & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_DATA) {
                RAY_DPRINTF(("%s: pkt not type data fc0 0x%x\n",
                    sc->sc_xname, fc0));



Home | Main Index | Thread Index | Old Index