From: Jon M. <jon...@er...> - 2004-06-15 13:12:46
|
It works, but I never did it with running traffic. The prerequisite is that all traffic is stopped before this can be done (this is the only ioctl() that has that prerequisite). It may be a good idea to get hold of the user counter and check that it is zero before the operation is permitted, though. This was easy in 2.4, but I guess there is a similar way to do it in 2.6 ? I will have a look at it. /jon all...@wi... <mailto:all...@wi...> wrote: Has anyone tried using the new ioctl() function TIPC_SET_MAX_PORTS to see if it actually works? I ask this because it doesn't seem like a great idea to be calling stop_node() in the middle of a socket-oriented routine, since stop_node() shuts down TIPC's socket API via sock_stop(). Just curious ... -- Al Stephens |