Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   mrg
Date:           Fri May 12 01:20:33 UTC 2006

Modified Files:
        src/sys/net: if_ethersubr.c if_fddisubr.c if_tokensubr.c
        src/sys/netinet: if_arp.c
        src/usr.sbin/rarpd: rarpd.c

Log Message:
since ar_tha() can return NULL, don't pass it directly to functions
that expect real addresses.  explicitly KASSERT() that it is not
NULL in the kernel and just avoid using it userland.

(the kernel could be more defensive about this, but, until now it
would have just crashed anyway.)


To generate a diff of this commit:
cvs rdiff -r1.130 -r1.131 src/sys/net/if_ethersubr.c
cvs rdiff -r1.59 -r1.60 src/sys/net/if_fddisubr.c
cvs rdiff -r1.35 -r1.36 src/sys/net/if_tokensubr.c
cvs rdiff -r1.108 -r1.109 src/sys/netinet/if_arp.c
cvs rdiff -r1.54 -r1.55 src/usr.sbin/rarpd/rarpd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index