summaryrefslogtreecommitdiff
path: root/udp.conf
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-13 11:41:52 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-13 11:43:42 +0200
commitbf43e1993c7037ea9f23bf0cac4ec7de0e3b1ca8 (patch)
tree1af1078702f5b499c49d2b818217a15e33e06bba /udp.conf
parenta3a0afe1189c69a05c3b8329b35bdaa5de72b038 (diff)
trafgen: lexer: return original string if no shellcode
When do not detect any shellcode, make sure we return the original string only. Reported-by: Jon Schipp <jonschipp@gmail.com> Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'udp.conf')
0 files changed, 0 insertions, 0 deletions
mp_messages(). However, this change did not check to see if the mutex is already held. If __spi_sync() is called with the mutex held (ie. 'bus_locked' is true), then a deadlock occurs when __spi_pump_messages() is called. Fix this deadlock by passing the 'bus_locked' state from __spi_sync() to __spi_pump_messages() and only acquire the mutex if not already held. In the case where __spi_pump_messages() is called from spi_pump_messages() it is assumed that the mutex is not held and so call __spi_pump_messages() with 'bus_locked' set to false. Finally, move the unlocking of the mutex to the end of the __spi_pump_messages() function to simplify the code and only call cond_resched() if there are no errors. Fixes: 556351f14e74 ("spi: introduce accelerated read support for spi flash devices") Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')