kernels/linux-2.4.0/drivers/net/wan/sdla_chdlc.c
/*============================================================================
 * Un-Configure IP negotiated by SLARP
 * This removes dynamic routes when the link becomes inactive.
 */
Un-Configure IP negotiated by SLARP
This removes dynamic routes when the link becomes inactive.
Un - Configure IP negotiated by SLARP This removes dynamic routes when the link becomes inactive .
static int unconfigure_ip (sdla_t* card)
{
	struct net_device *dev = card->wandev.dev;
	chdlc_private_area_t *chdlc_priv_area= dev->priv;
	if (chdlc_priv_area->route_status == ROUTE_ADDED) {
	      	chdlc_priv_area->route_status = REMOVE_ROUTE;
                card->poll = process_route;
	}
	return 0;
}
static int unconfigure_ip ( sdla_t * card ) { struct net_device * dev = card -> wandev . dev ; chdlc_private_area_t * chdlc_priv_area = dev -> priv ; if ( chdlc_priv_area -> route_status == ROUTE_ADDED ) { chdlc_priv_area -> route_status = REMOVE_ROUTE ; card -> poll = process_route ; } return 0 ; }
Un-Configure IP negotiated by SLARP
 This removes dynamic routes when the link becomes inactive.
Un - Configure IP negotiated by SLARP This removes dynamic routes when the link becomes inactive .
/* The idea here is to delete the route in 
		 * the poll routine.
	   	 * This way, we aren't in interrupt context 
		 * when adding routes 
		 */