diff options
author | Tom Zanussi <[email protected]> | 2009-08-08 10:49:36 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-08-08 17:58:07 +0200 |
commit | fb82ad719831db58e9baa4c67015aae3fe27e7e3 (patch) | |
tree | 61009acdbd934e75c8328d1af6314e10ade6ffaf /net/lapb/lapb_iface.c | |
parent | a2ca5e03b6a5a1d401062f0a7f78888cf9e5e3b0 (diff) |
tracing/filters: Don't use pred on alloc failure
Dan Carpenter sent me a fix to prevent pred from being used if
it couldn't be allocated. This updates his patch for the same
problem in the tracing tree (which has changed this code quite
substantially).
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Tom Zanussi <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Li Zefan <[email protected]>
LKML-Reference: <1249746576.6453.30.camel@tropicana>
Signed-off-by: Ingo Molnar <[email protected]>
The original report:
create_logical_pred() could sometimes return NULL.
It's a static checker complaining rather than problems at runtime...
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions