David S. Miller
628e300ccc
irda: Correctly clean up self->ias_obj on irda_bind() failure.
...
If irda_open_tsap() fails, the irda_bind() code tries to destroy
the ->ias_obj object by hand, but does so wrongly.
In particular, it fails to a) release the hashbin attached to the
object and b) reset the self->ias_obj pointer to NULL.
Fix both problems by using irias_delete_object() and explicitly
setting self->ias_obj to NULL, just as irda_release() does.
Reported-by: Tavis Ormandy <taviso@cmpxchg8b.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-30 18:37:56 -07:00
..
ircomm
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
2010-04-11 14:53:53 -07:00
irlan
irda: fix a race in irlan_eth_xmit()
2010-08-19 00:41:52 -07:00
irnet
ppp: make channel_ops const
2010-08-04 21:53:17 -07:00
af_irda.c
irda: Correctly clean up self->ias_obj on irda_bind() failure.
2010-08-30 18:37:56 -07:00
discovery.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
irda_device.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
iriap.c
net: Remove unnecessary returns from void function()s
2010-05-17 23:23:14 -07:00
iriap_event.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
irias_object.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
irlap.c
irlap_event.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
irlap_frame.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
irlmp.c
irlmp_event.c
irlmp_frame.c
irmod.c
irnetlink.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
irproc.c
irqueue.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
irsysctl.c
irttp.c
irttp: Print device parameters and statistics as unsigned
2010-06-12 18:18:33 -07:00
Kconfig
Makefile
parameters.c
qos.c
timer.c
wrapper.c