[3001] in SIPB-AFS-requests
changed kernel to enable udp checksums
daemon@ATHENA.MIT.EDU (mhpower@MIT.EDU)
Mon May 18 02:40:11 1998
From: mhpower@MIT.EDU
To: rtfm-maintainers@MIT.EDU, sipb-afsreq@MIT.EDU, usenet@MIT.EDU
Date: Mon, 18 May 1998 02:39:54 EDT
I modified the kernel on penguin-lust, ronald-ann2, bloom-beacon, and
senator-bedfellow using
# adb -w -k /vmunix /dev/mem
udp_cksum?W1
so that udp checksums would be enabled at boot time. Normally, these
machines had udp_cksum equal to 1 in the running kernel because that
kernel variable is set by the AFS code (rx/rx_kernel.c). However, the
AFS module is loaded very late in the boot process and there's some
opportunity for corrupted udp packets to affect other programs in the
meantime. (Also, named built using the standard compile-time settings
for SunOS requires that udp_cksum be nonzero.)
On reynelda, the kernel already had udp_cksum equal to -1 due to
/sys/sun4m/conf/REYNELDA and /sys/netinet/in_proto.c in reynelda's
kernel build tree. I left reynelda's kernel as it was.
Matt