Linux-kernel mailing list archive 1997-48,: Re: Examine route.c! -- two bugs fixed -- patch attached!

# 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)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Richard B. Johnson: "Broken PPP"
- Previous message: Bruno Haible: "Re: 2.0.32 (and earlier): Problems with mounting SCO OSR5 partitions"

> 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 ?

- Next message: Richard B. Johnson: "Broken PPP"
- Previous message: Bruno Haible: "Re: 2.0.32 (and earlier): Problems with mounting SCO OSR5 partitions"