[mcip-list] Patch fixing memory usage after device removal
Management and Control Information Protocol
Brought to you by:
fjutscha
|
From: Michael K. <m-...@m-...> - 2015-05-26 15:14:44
|
Hello list, attached is a patch that fixes handling a device removal. The for-loop with the state machine must not be continued in case a device has been removed. Instead of introducing new flags to abort the for-loop in such a case, I introduced a new state. A "bye" telegram does not remove a device driver immediatelly but only marks it as a zombie that can be removed at any time. -- Servus Michael |