From: Cong Wang Date: Thu, 17 Jan 2013 08:34:11 +0000 (+0800) Subject: xfrm: use separated locks to protect pointers of struct xfrm_state_afinfo X-Git-Tag: v3.9-rc1~139^2~270^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a9885b93bb623524468b37d04146d3422e099eb;p=pandora-kernel.git xfrm: use separated locks to protect pointers of struct xfrm_state_afinfo afinfo->type_map and afinfo->mode_map deserve separated locks, they are different things. We should just take RCU read lock to protect afinfo itself, but not for the inner pointers. Cc: Steffen Klassert Cc: Herbert Xu Cc: "David S. Miller" Signed-off-by: Cong Wang Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed