]> git.baikalelectronics.ru Git - kernel.git/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)
commit782c2fcade29b86a6553c474219c7fea8f54b151
tree4635aab17f05da9945e112c61c54e93788417f4e
parentac857cc5f16ef8ab2b7b43b9aecfd3d3f113f7e7
[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