[Click] please_stop_driver() function

Eddie Kohler kohler at CS.UCLA.EDU
Fri Mar 4 16:32:34 EST 2005


Hi Andreas,

Click should not segfault after please_stop_driver().  Is your configuration 
running an element of your own design?  Maybe the bug is there.  EIther that or 
it's our bug, send a configuration along and sometime hopefully before 2006 :( 
we'll take a look.

Eddie


Andreas Tarp wrote:
> Hi,
> 
> i have a question regarding to the please_stop_driver()  function from 
> click/router.hh:
> 
> I think in theory the line
> 
> router -> please_stop_driver()
> 
> somewhere within an element (for example in the Element::simple_action 
> part) should stop the runnig click configuration and return to the linux 
> console.
> 
> In my case click quits when calling these function, but I always receive 
> a SIGSEGV error. Do I have to pay attention to some other rules, when 
> calling please_stop_driver() ?
> 
> My intention is to write a small element, which quits the running click 
> router, if a packet is passed to the element.
> 
> Thanks a lot,
> 
> Andreas
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list