xfrm: Take xfrm_state_lock in xfrm_migrate_state_find
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 19 Feb 2014 12:33:24 +0000 (13:33 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 20 Feb 2014 13:30:04 +0000 (14:30 +0100)
commit8c0cba22e196122d26c92980943474eb53db8deb
tree2a2488f1e88bc9b15d1ead0d884aa20b8afd4697
parent35ea790d7883dd660208f78eae50ebfd6b8bd14a
xfrm: Take xfrm_state_lock in xfrm_migrate_state_find

A comment on xfrm_migrate_state_find() says that xfrm_state_lock
is held. This is apparently not the case, but we need it to
traverse through the state lists.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_state.c