tech-kern archive

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

Re: assorted crashdumps



While we are here, how about the appended patches?
I've been testing the ip6 one for two weeks. The
iso one is just for analogy reasons.

best regards
Matthias





-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
#
# old_revision [b2d33500fe0fb1c263a3a760ee206e7f3c7da847]
#
# patch "sys/netinet6/frag6.c"
#  from [979c410ec8cf2ad0a794cf9e979786efd5843dc0]
#    to [ab65704a11c61ef93c74c6de50635de1d1c98063]
# 
# patch "sys/netiso/clnp_timer.c"
#  from [33c89a0a4c649ff6d89b585418636a8da1d33c6a]
#    to [f875d8b6ac8952ac9c306cfb1dd4cd2d30c21fc5]
#
============================================================
--- sys/netinet6/frag6.c        979c410ec8cf2ad0a794cf9e979786efd5843dc0
+++ sys/netinet6/frag6.c        ab65704a11c61ef93c74c6de50635de1d1c98063
@@ -729,7 +729,6 @@ frag6_drain(void)
 frag6_drain(void)
 {
 
-       mutex_enter(softnet_lock);
        KERNEL_LOCK(1, NULL);
        if (ip6q_lock_try() != 0) {
                while (ip6q.ip6q_next != &ip6q) {
@@ -740,5 +739,4 @@ frag6_drain(void)
                IP6Q_UNLOCK();
        }
        KERNEL_UNLOCK_ONE(NULL);
-       mutex_exit(softnet_lock);
 }
============================================================
--- sys/netiso/clnp_timer.c     33c89a0a4c649ff6d89b585418636a8da1d33c6a
+++ sys/netiso/clnp_timer.c     f875d8b6ac8952ac9c306cfb1dd4cd2d30c21fc5
@@ -179,11 +179,9 @@ clnp_drain(void)
 {
        struct clnp_fragl *cfh;
 
-       mutex_enter(softnet_lock);
        KERNEL_LOCK(1, NULL);
        cfh = clnp_frags;
        while (cfh != NULL)
                cfh = clnp_freefrags(cfh);
        KERNEL_UNLOCK_ONE(NULL);
-       mutex_exit(softnet_lock);
 }


Home | Main Index | Thread Index | Old Index