From: Philip P. <phi...@re...> - 2010-09-22 16:36:15
|
On 9/22/10 9:25 AM, Karl Hiramoto wrote: > On 09/22/10 18:04, Philip Prindeville wrote: > >> Ok, that didn't crash. >> >> Now how is the state exposed into user-space? >> >> >> > If you do "ip link" does it show LOWER_UP? Then if you loose carrier > does LOWER_UP disappear? > > If not, put some printk's in locations like ppp_channel_carrier_on() > ppp_channel_carrier_off() pppoatm_dev_event() to see what's happening. Actually, that was happening before... because I think ppp_generic marks the interface as up when negotiation completes, and down when it fails or when LCP echo times out. No, that's not right. I just grepped IFF_UP in drivers/net/ppp*.c and didn't get a hit (for setting it). I'll dig a bit more for where this is happening. |