]> err.no Git - linux-2.6/commit
[TCP]: Fix MD5 signature pool locking.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 21 Feb 2007 07:51:47 +0000 (23:51 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Feb 2007 19:42:48 +0000 (11:42 -0800)
commit2c4f6219aca5939b57596278ea8b014275d4917b
tree4635aab17f05da9945e112c61c54e93788417f4e
parent7f62ad5d37f4e43c841e92c6f159c93dcf2d2cdd
[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>
net/ipv4/tcp.c