DragonFly commits List (threaded) for 2008-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/netinet in_pcb.c ip_output.c src/sys/net route.c route.h
sephe 2008/09/11 04:23:29 PDT
DragonFly src repository
Modified files:
sys/netinet in_pcb.c ip_output.c
sys/net route.c route.h
Log:
- Add rtfree_remote(), which send rtentry to its owner CPU to be freed.
Print backtrace, if net.route.remote_free_panic is 0. This function
only serves as _temporary_ workaround.
- In ip_output(), if passed rtentry cache's owner CPU is not the current,
then keep it untouched and use the stack variable to relocate the route.
Add comment about it. This at least could happen in the following
callgraph on a TCP socket, on which listen(2) has been called:
ip_input() -> tcp_input() -> tcp_respond() -> ip_output()
Related to Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1134>
Revision Changes Path
1.47 +14 -2 src/sys/netinet/in_pcb.c
1.59 +10 -0 src/sys/netinet/ip_output.c
1.37 +49 -0 src/sys/net/route.c
1.24 +14 -4 src/sys/net/route.h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/in_pcb.c.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_output.c.diff?r1=1.58&r2=1.59&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/route.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/route.h.diff?r1=1.23&r2=1.24&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]