diff options
author | Josh Blum <josh@joshknows.com> | 2012-04-17 14:07:58 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-04-17 14:07:58 -0700 |
commit | 4a1ec80d496e7754cf5a8c0f96322b2871094a31 (patch) | |
tree | 32e505c00525bb274aa474a0150ff5bda026fc0f /host/utils | |
parent | a345c19cc2d4e9556b46b48d75b8ccc35b95ba45 (diff) | |
download | uhd-4a1ec80d496e7754cf5a8c0f96322b2871094a31.tar.gz uhd-4a1ec80d496e7754cf5a8c0f96322b2871094a31.tar.bz2 uhd-4a1ec80d496e7754cf5a8c0f96322b2871094a31.zip |
usb: do not release recv buffer in wrapper
The actual recv buffer will be automatically released when dereferenced.
By releasing this buffer early we allowed for a race condition:
Subsequent wrapper buffers that shared the same actual buffer
could get their memory filled by new recvd packets from the USB layer.
Diffstat (limited to 'host/utils')
0 files changed, 0 insertions, 0 deletions