« Previous | Next » 

Revision f545d387

IDf545d38707bf01aa9db3915d782a547f89f92c1d
Parent 30bc402e
Child d46ffc97

Added by Martin Mares over 21 years ago

Added universal locking mechanism which will solve problems
with protocols wanting to use the same port on the same interface
during reconfiguration time.

How to use locks: In the if_notify hook, just order locks for the
interfaces you want to work with and do the real socket opening after the
lock hook function gets called. When you stop using the socket, close
it and rfree() the lock.

Please update your protocols to use the new locking mechanism.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences