diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-11-08 11:13:55 +0100 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2014-05-19 07:54:19 +0200 |
commit | 8663707a797e6a473c32cf08eb7597543bbdae79 (patch) | |
tree | 645f35090c28c2fbc47ba85eacdd142bf11aa59c /kernel/wait.c | |
parent | 8753987aa676b02e907d72713d78ff3a9de8a5ad (diff) |
sctp: unbalanced rcu lock in ip_queue_xmit()
The bug was introduced in 2.6.32.61 by commit b8710128e201 ("inet: add RCU
protection to inet->opt") (it's a backport of upstream commit f6d8bd051c39).
In SCTP case, packet is already routed, hence we jump to the label
'packet_routed', but without rcu_read_lock(). After this label,
rcu_read_unlock() is called unconditionally.
Spotted-by: Guo Fengtian <fengtian.guo@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions