diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-12-07 09:50:27 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-12-07 12:07:45 +0300 |
commit | f26f7c480555812ca7c4037e0a50fa54afe2cb4a (patch) | |
tree | 1418b99033d50241b8f866124b0974e7adb16449 /net/sctp/bind_addr.c | |
parent | 56c99d0415e8b778c200f115b198c126243ec351 (diff) | |
download | linux-f26f7c480555812ca7c4037e0a50fa54afe2cb4a.tar.xz |
[SCTP]: Add bind hash locking to the migrate code
SCTP accept code tries to add a newliy created socket
to a bind bucket without holding a lock. On a really
busy system, that can causes slab corruptions.
Add a lock around this code.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/bind_addr.c')
0 files changed, 0 insertions, 0 deletions