]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: Fix state threshold configuration from userspace
authorMichael Rossberg <michael.rossberg@tu-ilmenau.de>
Tue, 29 Sep 2015 09:25:08 +0000 (11:25 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 29 Sep 2015 09:45:55 +0000 (11:45 +0200)
commite4f79c332c0111ed999af0cb126f51b38f1ed85b
tree3f617f60f9e32054765a57383e52ab0629c5f027
parent76e38e596b6ae6d800ac0195fe15414d5db9d420
xfrm: Fix state threshold configuration from userspace

Allow to change the replay threshold (XFRMA_REPLAY_THRESH) and expiry
timer (XFRMA_ETIMER_THRESH) of a state without having to set other
attributes like replay counter and byte lifetime. Changing these other
values while traffic flows will break the state.

Signed-off-by: Michael Rossberg <michael.rossberg@tu-ilmenau.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_user.c