diff options
author | Cong Wang <amwang@redhat.com> | 2013-01-17 09:34:11 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2013-01-17 10:03:57 +0100 |
commit | 7a9885b93bb623524468b37d04146d3422e099eb (patch) | |
tree | 11445bbd6fd8a3a1191dbf59d50c81f830f0cb7b /net/mac80211/aes_cmac.c | |
parent | xfrm: replace rwlock on xfrm_km_list with rcu (diff) | |
download | linux-7a9885b93bb623524468b37d04146d3422e099eb.tar.xz linux-7a9885b93bb623524468b37d04146d3422e099eb.zip |
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 <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/mac80211/aes_cmac.c')
0 files changed, 0 insertions, 0 deletions