Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 08/26/2007 22:59:10
Module Name: src
Committed By: dyoung
Date: Sun Aug 26 22:59:10 UTC 2007
Modified Files:
src/sys/net: bridgestp.c if_bridge.c if_ecosubr.c if_etherip.c
if_hippisubr.c if_ieee1394subr.c if_strip.c if_tap.c if_tokensubr.c
if_vlan.c
src/sys/net/agr: ieee8023ad_lacp.c if_agrether.c
src/sys/netatalk: aarp.c
src/sys/netinet: ip_carp.c
Log Message:
Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).
Use sockaddr_dl_setaddr() in a few places.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/sys/net/bridgestp.c
cvs rdiff -r1.52 -r1.53 src/sys/net/if_bridge.c
cvs rdiff -r1.23 -r1.24 src/sys/net/if_ecosubr.c
cvs rdiff -r1.9 -r1.10 src/sys/net/if_etherip.c
cvs rdiff -r1.29 -r1.30 src/sys/net/if_hippisubr.c
cvs rdiff -r1.34 -r1.35 src/sys/net/if_ieee1394subr.c
cvs rdiff -r1.78 -r1.79 src/sys/net/if_strip.c
cvs rdiff -r1.30 -r1.31 src/sys/net/if_tap.c
cvs rdiff -r1.48 -r1.49 src/sys/net/if_tokensubr.c
cvs rdiff -r1.53 -r1.54 src/sys/net/if_vlan.c
cvs rdiff -r1.7 -r1.8 src/sys/net/agr/ieee8023ad_lacp.c
cvs rdiff -r1.5 -r1.6 src/sys/net/agr/if_agrether.c
cvs rdiff -r1.24 -r1.25 src/sys/netatalk/aarp.c
cvs rdiff -r1.14 -r1.15 src/sys/netinet/ip_carp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.