Gleb Smirnoff
2d7e9ead07
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]
2005-09-21 11:58:10 +00:00
..
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2005-09-14 16:37:05 +00:00
2005-08-22 19:35:48 +00:00
2005-09-05 23:08:04 +00:00
2005-08-09 10:20:02 +00:00
2005-06-10 16:49:24 +00:00
2005-08-18 20:17:00 +00:00
2005-07-05 23:39:51 +00:00
2004-10-05 19:28:52 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-08-11 08:14:53 +00:00
2005-09-06 21:11:59 +00:00
2005-07-06 01:24:45 +00:00
2005-02-24 13:14:41 +00:00
2005-01-07 01:45:51 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-08-09 10:20:02 +00:00
2005-09-06 21:11:59 +00:00
2005-08-09 10:20:02 +00:00
2005-08-09 10:20:02 +00:00
2005-08-11 08:14:53 +00:00
2005-08-09 10:20:02 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-06-10 16:49:24 +00:00
2005-08-11 08:14:53 +00:00
2005-06-05 03:13:13 +00:00
2005-08-09 10:20:02 +00:00
2005-01-07 01:45:51 +00:00
2005-02-22 13:04:05 +00:00
2005-05-06 02:50:00 +00:00
2005-01-07 01:45:51 +00:00
2005-09-19 22:27:07 +00:00
2005-01-07 01:45:51 +00:00
2005-08-12 08:27:15 +00:00
2005-09-19 22:27:07 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-09-19 22:27:07 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-08-09 10:20:02 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:16:17 +00:00
2005-08-31 11:36:50 +00:00
2005-09-16 20:38:33 +00:00
2005-09-18 17:36:28 +00:00
2005-08-09 12:56:20 +00:00
2005-04-13 08:14:14 +00:00
2005-01-11 07:08:15 +00:00
2004-10-11 20:01:43 +00:00
2005-01-07 01:45:51 +00:00
2005-05-23 17:07:16 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-08-12 08:27:15 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-24 22:56:09 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-09-21 11:58:10 +00:00
2005-09-14 14:57:04 +00:00
2005-09-19 16:27:22 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2004-04-07 20:46:16 +00:00
2005-09-11 16:13:02 +00:00
2005-01-07 01:45:51 +00:00