Source-Changes archive

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

CVS commit: [netbsd-8] src/sys/net

Module Name:    src
Committed By:   snj
Date:           Sat Jan 13 22:10:55 UTC 2018

Modified Files:
        src/sys/net [netbsd-8]: route.c route.h

Log Message:
Pull up following revision(s) (requested by christos in ticket #496):
        sys/net/route.c: revision 1.202-1.203
        sys/net/route.h: revision 1.117
Use a queue of deferred entries to delete routes instead of a fixed stack
of 10. Otherwise we can overflow in route deletions from the rexmit timer.
Don't stomp past the end of the array! need __arraycount not sizeof()
Found by chuq, while debugging the crashes
Restructure a bit for readability.

To generate a diff of this commit:
cvs rdiff -u -r1.194.6.3 -r1.194.6.4 src/sys/net/route.c
cvs rdiff -u -r1.112.4.2 -r1.112.4.3 src/sys/net/route.h

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