]> git.baikalelectronics.ru Git - kernel.git/commit
af_key: locking change
authorstephen hemminger <shemminger@vyatta.com>
Mon, 22 Feb 2010 07:57:19 +0000 (07:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2010 23:45:56 +0000 (15:45 -0800)
commitee654790649ab198dd17b1b81a7c92043463e674
tree7d6795317f67d79919df5bb6b52121ad94d8ff37
parentb32c0d1a3400ffbd0050cf27c2c64cc88fc23b81
af_key: locking change

Get rid of custom locking that was using wait queue, lock, and atomic
to basically build a queued mutex.  Use RCU for read side.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/key/af_key.c