Skip to contentSkip to conversation

Please pull from compudj-pull

GIT PULL David Goulet 1 participant 1 message Sep 28, 2012 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Pulled!

Mathieu Desnoyers:

Quoted 20 lines

Hi David,

Please pull from compudj-pull at commit:

commit 3870fc0dddd945410af05ac9e65f041acf84731a Author: Mathieu
Desnoyers <[email protected]> Date: Fri Sep 28
16:41:25 2012 -0400

Fix: consumer_allocate_stream error handling

Fix a memory leak and "be nice" when handling stream alloc errors. Upon CPU hotplug, it is possible that we receive a stream only after all other streams are finalized, which means it could happen that we discard that channel, in the unlikely event that we have cpu hotplug concurrently with destroy.

Moreover, this fix the return path of channel lookup failure: we were returning an zeroed stream rather than returning an error, which was certainly not the intended behavior.

Quoted 6 lines

Thanks!

Mathieu

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJQZg5CAAoJEELoaioR9I02IZ0H/jfw63XUaIicL5Z5SPZQ7bmY mvp0AtzqHejvhGp9x1uU62OB8bag2jU9hi0mBiGe8I5xZv8Bu5iSXbWu8KZAKCaG JJXpg7M2IVkzVzPuYxr64wcBL7D90ESdbdpHJ6t7oHL/eZ8lgeGEOlu6TjNW+Eum D8rn7uBlEWHzxLWJWKvI+CgbJRSWPbZNbq8ECo2hvutHcKvW18ImJxpwFFi1KUUA HmFDs+5mtNx5yAHFBdGBl8ADFtMdTS6UY1WDgF+3A01glgSchHF7LqW5fWl+6Ni5 yOdvFUSH/hDkHsZESpARKTRrGI2Iovq2ipOXQhPxyuY03mL6iMKLqHmzqCu//Yk= =Fzmx
-----END PGP SIGNATURE-----