/[base]
ViewVC logotype

Revision 238516


Jump to revision: Previous Next
Author: glebius
Date: Mon Jul 16 07:08:34 2012 UTC (11 years, 11 months ago)
Changed paths: 1
Log Message:
If ip_output() returns EMSGSIZE to tcp_output(), then the latter calls
tcp_mtudisc(), which in its turn may call tcp_output(). Under certain
conditions (must admit they are very special) an infinite recursion can
happen.

To avoid recursion we can pass struct route to ip_output() and obtain
correct mtu. This allows us not to use tcp_mtudisc() but call tcp_mss_update()
directly.

PR:		kern/155585
Submitted by:	Andrey Zonov <andrey zonov.org> (original version of patch)


Changed paths

Path Details
Directoryhead/sys/netinet/tcp_output.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27