summaryrefslogtreecommitdiffstats
path: root/include/asm-mn10300/sockios.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-11-13 14:58:31 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-13 14:58:31 +0100
commitee51a1de7e3837577412be269e0100038068e691 (patch)
treea93d6dfeec829b61d6a74b5a9c841bcfeaeeb31d /include/asm-mn10300/sockios.h
parent47e74f2ba8fbf9fb1378e2524e6cfdc2fb37f160 (diff)
downloadblackbird-op-linux-ee51a1de7e3837577412be269e0100038068e691.tar.gz
blackbird-op-linux-ee51a1de7e3837577412be269e0100038068e691.zip
tracing: fix mmiotrace resizing crash
Pekka reported a crash when resizing the mmiotrace tracer (if only mmiotrace is enabled). This happens because in that case we do not allocate the max buffer, but we try to use it. Make ring_buffer_resize() idempotent against NULL buffers. Reported-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-mn10300/sockios.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud