Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!walsh@bbn-unix From: walsh%bbn-unix@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: 4.2BSD bugfix netimp/if_imphost.c Message-ID: <16961@sri-arpa.UUCP> Date: Sun, 26-Feb-84 20:10:44 EST Article-I.D.: sri-arpa.16961 Posted: Sun Feb 26 20:10:44 1984 Date-Received: Fri, 2-Mar-84 13:25:05 EST Lines: 45 From: Bob WalshProblem: A vax with multiple imps seg faults upon booting. Solution: Fix netimp/if_imphost.c for reasons that the comments in the code indicate. 121,123d120 < #ifdef BUGFIXES < register struct mbuf *nextm; < #endif 126,132d122 < #ifdef BUGFIXES < /* < * see BUGFIXES below < */ < for (m = hosts; m; m = nextm) { < nextm = m->m_next; < #else 134d123 < #endif 209,211d197 < #ifdef BUGFIXES < register struct mbuf *nextm; < #endif 215,226d200 < #ifdef BUGFIXES < /* < * hostrelease may put the current m on the free list, so avoid < * traversing the free list instead of the host list. Not only is < * this wrong, but it can cause a panic if an mbuf pointing to a page < * is used since then in hostrelease(), the dtom macro does not < * produce a proper pointer to the mbuf structure. < * bw 2/26/84 < */ < for (m = hosts; m; m = nextm) { < nextm = m->m_next; < #else 228d201 < #endif bob walsh