Date: Mon, 26 Sep 2005 14:59:12 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net route.c Message-ID: <200509261459.j8QExCbR000792@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-09-26 14:59:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net route.c Log: MFC 1.113: Several fixes to rt_setgate(), that fix problems with route changing: - Rearrange code so that in a case of failure the affected route is not changed. Otherwise, a bogus rtentry will be left and later rt_check() can recurse on its lock. [1] - Remove comment about protocol cloning. - Fix two places where rtentry mutex was recursed on, because accessed via two different pointers, that were actually pointing to the same rtentry in some cases. [1] - Return EADDRINUSE instead of bogus EDQUOT, in case when gateway uses the same route. [2] Reported & tested by: ps, Andrej Zverev <az inec.ru> [1] PR: kern/64090 [2] Approved by: re (scottl) Revision Changes Path 1.109.2.2 +30 -35 src/sys/net/route.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509261459.j8QExCbR000792>