From: Paul M. <pa...@sa...> - 2007-03-26 01:02:31
|
David Miller writes: > The PPP generic layer seems to be very careful about it's handling of > the ->xmit_pending packet. Mostly, but I think that this is a genuine leak. > I'm really surprised this leak doesn't trigger already via the > ppp_synctty.c and ppp_async.c drivers, perhaps they do something to > make sure the transmitter gets purged properly when unregistering and > therefore ->xmit_pending does not get left non-NULL at unregister > time. At least for ppp_async, I think what saves us is that pppd does a TCFLSH ioctl when shutting down the link, which calls ppp_async_flush_output, which calls ppp_output_wakeup. Paul. |