commit | f26f7c480555812ca7c4037e0a50fa54afe2cb4a | [log] [tgz] |
---|---|---|
author | Vlad Yasevich <vladislav.yasevich@hp.com> | Thu Dec 06 22:50:27 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Fri Dec 07 01:07:45 2007 -0800 |
tree | 1418b99033d50241b8f866124b0974e7adb16449 | |
parent | 56c99d0415e8b778c200f115b198c126243ec351 [diff] |
[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>