[1167] in NetBSD-Development

home help back first fref pref prev next nref lref last post

rx_kernel.c change

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Dec 29 20:52:17 1995

Date: Fri, 29 Dec 1995 20:51:58 -0500
From: Greg Hudson <ghudson@MIT.EDU>
To: netbsd-afs@MIT.EDU

Chris Demetriou recently eliminated the ih_next and ih_prev elements
of the IP overlay structure.  rx_kernel.c zeros out part of the IP
overlay structure in order to test a checksum somehow.  I modified
that code to not zero out ui_next and ui_prev on NetBSD, and to use
bzero() to zero out the entire ui_x1 filler field (in case it's an
array):

#ifndef AFS_NETBSD_ENV
			tvu->ui_next = 0;
			tvu->ui_prev = 0;
#endif
			bzero(&tvu->ui_x1, sizeof(tvu->ui_x1));

home help back first fref pref prev next nref lref last post