original_kernel/net/caif
Eric Dumazet 79315068f4 caif: fix two caif_connect() bugs
caif_connect() might dereference a netdevice after dev_put() it.

It also doesnt check dev_get_by_index() return value and could
dereference a NULL pointer.

Fix it, using RCU to avoid taking a reference.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-05 20:35:53 -07:00
..
Kconfig caif: Kconfig and Makefile fixes 2010-06-29 00:06:38 -07:00
Makefile caif: Kconfig and Makefile fixes 2010-06-29 00:06:38 -07:00
caif_config_util.c
caif_dev.c
caif_socket.c caif: fix two caif_connect() bugs 2010-10-05 20:35:53 -07:00
cfcnfg.c
cfctrl.c
cfdbgl.c
cfdgml.c
cffrml.c
cfmuxl.c
cfpkt_skbuff.c caif: Bugfix - Increase default headroom size for control channel. 2010-08-10 16:39:27 -07:00
cfrfml.c net/caif/cfrfml.c: use asm/unaligned.h 2010-08-26 16:11:08 -07:00
cfserl.c
cfsrvl.c
cfutill.c
cfveil.c
cfvidl.c
chnl_net.c