Source-Changes archive

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

CVS commit: [netbsd-8] src/sys



Module Name:    src
Committed By:   snj
Date:           Sat Feb  3 22:07:26 UTC 2018

Modified Files:
        src/sys/net [netbsd-8]: route.c rtsock.c
        src/sys/netinet [netbsd-8]: in.c tcp_subr.c tcp_timer.c tcp_timer.h
            tcp_var.h
        src/sys/netinet6 [netbsd-8]: in6.c

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #514):
        sys/net/route.c: 1.205
        sys/net/rtsock.c: 1.237-1.238
        sys/netinet/in.c: 1.215
        sys/netinet/tcp_subr.c: 1.272
        sys/netinet/tcp_timer.c: 1.93
        sys/netinet/tcp_timer.h: 1.29
        sys/netinet/tcp_var.h: 1.182
        sys/netinet6/in6.c: 1.258
Remove extra pserialize_perform from in_purgeaddr
It's already performed in ifa_remove. Note so there (in in6_unlink_ifa too).
Release rt_so_mtx on updating a rtentry to avoid a deadlock with route_intr
The deadlock happened only if NET_MPSAFE on.
Run tcp_slowtimo in workqueue if NET_MPSAFE
If NET_MPSAFE is enabled, we have to avoid taking softnet_lock in softint as
much as possible to prevent any softint handlers including callout handlers
such as tcp_slowtimo from sticking on softnet_lock because it results in
undesired delays of executing subsequent softint handlers.
NFCI for !NET_MPSAFE
Fix a return value of rt_update_prepare
Callers expect it to be an errno.
Fix another deadlock
When waiting for a route update to finish, a waiter has to release its reference
to the route to avoid a deadlock. Because a updater tries to wait for references
to a target route (except for a reference by the updater itself) to be released.


To generate a diff of this commit:
cvs rdiff -u -r1.194.6.4 -r1.194.6.5 src/sys/net/route.c
cvs rdiff -u -r1.213.2.5 -r1.213.2.6 src/sys/net/rtsock.c
cvs rdiff -u -r1.203.2.6 -r1.203.2.7 src/sys/netinet/in.c
cvs rdiff -u -r1.270 -r1.270.6.1 src/sys/netinet/tcp_subr.c
cvs rdiff -u -r1.91 -r1.91.8.1 src/sys/netinet/tcp_timer.c
cvs rdiff -u -r1.28 -r1.28.48.1 src/sys/netinet/tcp_timer.h
cvs rdiff -u -r1.177.10.1 -r1.177.10.2 src/sys/netinet/tcp_var.h
cvs rdiff -u -r1.245.2.5 -r1.245.2.6 src/sys/netinet6/in6.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