aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorTim Chen <[email protected]>2017-02-01 10:45:02 -0800
committerHerbert Xu <[email protected]>2017-02-11 17:50:41 +0800
commitc459bd7beda0295ea67db0ce2004a49addb2f765 (patch)
treeb9367df4079888e70d00b02f04e530d09c23daee /net/lapb/lapb_iface.c
parent5d3d9c8bda2c74b13185704e504cdf0aa5210723 (diff)
crypto: sha512-mb - Protect sha512 mb ctx mgr access
The flusher and regular multi-buffer computation via mcryptd may race with another. Add here a lock and turn off interrupt to to access multi-buffer computation state cstate->mgr before a round of computation. This should prevent the flusher code jumping in. Signed-off-by: Tim Chen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions