diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-05-16 00:34:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-16 00:34:04 -0700 |
commit | 35790c0421121364883a167bab8a2e37e1f67f78 (patch) | |
tree | a3e032a9ba6bb77337176bef407d7408d6a10a4d /crypto/async_tx/async_xor.c | |
parent | d77f873fdd21912803836da78f627d2efd267082 (diff) |
tcp: fix MD5 (RFC2385) support
TCP MD5 support uses percpu data for temporary storage. It currently
disables preemption so that same storage cannot be reclaimed by another
thread on same cpu.
We also have to make sure a softirq handler wont try to use also same
context. Various bug reports demonstrated corruptions.
Fix is to disable preemption and BH.
Reported-by: Bhaskar Dutta <bhaskie@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/async_tx/async_xor.c')
0 files changed, 0 insertions, 0 deletions