diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-05 00:42:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 05:35:53 +0200 |
commit | 79315068f4560f3f7bd6e9790190dcb43059770c (patch) | |
tree | da41cf961fd143ba9365fcb18a657dba904e617f /Documentation/robust-futexes.txt | |
parent | bonding: fix WARN_ON when writing to bond_master sysfs file (diff) | |
download | linux-79315068f4560f3f7bd6e9790190dcb43059770c.tar.xz linux-79315068f4560f3f7bd6e9790190dcb43059770c.zip |
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>
Diffstat (limited to 'Documentation/robust-futexes.txt')
0 files changed, 0 insertions, 0 deletions