]> err.no Git - linux-2.6/commit
[NET]: Fix setsockopt locking bug
authorKyle Moffett <mrmacman_g4@mac.com>
Wed, 27 Jul 2005 21:22:30 +0000 (14:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jul 2005 21:22:30 +0000 (14:22 -0700)
commita77be819f94fc55627ee257f496198ad703aaad4
tree1b6d1a29f39ce0541e1248639adc496986261a13
parentcbcd2a4cca1a6223e4f98661ef524919d322675e
[NET]: Fix setsockopt locking bug

On Sparc, SO_DONTLINGER support resulted in sock_reset_flag being
called without lock_sock().

Signed-off-by: Kyle Moffett <mrmacman_g4@mac.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c