Re: [patch 1/2] ceph: null deref on allocation failure

2011-03-29 Thread Yehuda Sadeh Weinraub
On Mon, Mar 28, 2011 at 8:25 PM, Dan Carpenter erro...@gmail.com wrote: The original code checked event_work for allocation failures, but only after it had already use it. Signed-off-by: Dan Carpenter erro...@gmail.com diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index

[patch 1/2] ceph: null deref on allocation failure

2011-03-28 Thread Dan Carpenter
The original code checked event_work for allocation failures, but only after it had already use it. Signed-off-by: Dan Carpenter erro...@gmail.com diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 02212ed..b6776cb 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c @@