glebius eea24f1858 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)
2005-09-26 14:59:12 +00:00
..
2005-07-11 03:16:23 +00:00
2005-09-25 20:36:02 +00:00
2005-08-19 14:52:21 +00:00
2005-09-20 13:44:36 +00:00
2005-09-15 20:53:22 +00:00
2005-08-25 05:02:28 +00:00
2005-09-26 14:59:12 +00:00
2005-09-20 01:59:54 +00:00