]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Fix TCP MD5 locking.
authorDavid Miller <davem@davemloft.net>
Tue, 27 Feb 2007 19:11:09 +0000 (11:11 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:26 +0000 (10:50 -0800)
commit2e8c347d749bc09d21917b2f23fa84cb375e586b
treefbfdd234e600ff68d4a423ee72aed53478f94bbc
parentede6d26177a046ab7f14840e10cb2bbda6bc91df
Fix TCP MD5 locking.

[TCP]: Fix MD5 signature pool locking.

The locking calls assumed that these code paths were only
invoked in software interrupt context, but that isn't true.

Therefore we need to use spin_{lock,unlock}_bh() throughout.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/tcp.c