commit | 0ba23a211360af7b6658e4fcfc571970bbbacc55 | [log] [tgz] |
---|---|---|
author | Yossef Efraim <yossefe@mellanox.com> | Tue Nov 28 11:49:28 2017 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Fri Dec 01 07:10:01 2017 +0100 |
tree | 573a6e06940a401290f8eec7814f76525d5b53ab | |
parent | 5c0bb261d26189e1d7ece001b0accc7e14e6b20c [diff] |
xfrm: Fix xfrm_replay_overflow_offload_esn In case of wrap around, replay_esn->oseq_hi is not updated before it is tested for it's actual value, leading function to fail with overflow indication and packets being dropped. This patch updates replay_esn->oseq_hi in the right place. Fixes: d7dbefc45cf5 ("xfrm: Add xfrm_replay_overflow functions for offloading") Signed-off-by: Yossef Efraim <yossefe@mellanox.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>