From owner-freebsd-bugs Mon Jul 14 16:13:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA20737 for bugs-outgoing; Mon, 14 Jul 1997 16:13:34 -0700 (PDT) Received: from ell.ee.lbl.gov (ell.ee.lbl.gov [131.243.1.20]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA20731 for ; Mon, 14 Jul 1997 16:13:29 -0700 (PDT) Received: by ell.ee.lbl.gov (8.8.6/8.8.5) id QAA17721; Mon, 14 Jul 1997 16:13:27 -0700 (PDT) Message-Id: <199707142313.QAA17721@ell.ee.lbl.gov> To: bugs@freebsd.org Subject: LBL ifdef in netinet/ip_mroute.c Date: Mon, 14 Jul 97 16:13:27 PDT From: Craig Leres Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Would it be possible for you folks to apply the appended patch to netinet/ip_mroute.c? The oc_cksum() routine is an experimental checksum that is only implemented on the sparc and everytime I build a "LBL" kernel from a fresh copy of FreeBSD, I have to change it. (It would probably also be ok if you just removed the ifdef...) Thanks! Craig ------ *** ip_mroute.c.virgin Mon Jul 14 16:07:19 1997 --- ip_mroute.c Mon Jul 14 16:08:25 1997 *************** *** 1609,1615 **** HTONS(ip->ip_len); HTONS(ip->ip_off); ip->ip_sum = 0; ! #if defined(LBL) && !defined(ultrix) ip->ip_sum = ~oc_cksum((caddr_t)ip, ip->ip_hl << 2, 0); #else mb_copy->m_data += sizeof(multicast_encap_iphdr); --- 1609,1615 ---- HTONS(ip->ip_len); HTONS(ip->ip_off); ip->ip_sum = 0; ! #if defined(LBL) && defined(sun) ip->ip_sum = ~oc_cksum((caddr_t)ip, ip->ip_hl << 2, 0); #else mb_copy->m_data += sizeof(multicast_encap_iphdr);