Re: Examine route.c! -- two bugs fixed -- patch attached!
Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 4 Dec 1997 18:40:05 +0000 (GMT)
> fine. One thing i was unable to verify, when we destroy a socket, do we
> always 'rt_put()' it's sk->ip_cached_route? [but this should make no
> difference as the activity done by the 'nc' script does not create as
> many sockets as there are leaks].
It might be worth putting in code to check we always do this (make the rt_put
of sk->ip_cached_route an inline and NULL the pointer). Also to trap
any cases where we do something like retransmit a tcp frame and perhaps relock
the route we already had ?