Yossef Efraim
ab3db1af42
xfrm: Fix xfrm_replay_overflow_offload_esn
...
[ Upstream commit 0ba23a211360af7b6658e4fcfc571970bbbacc55 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-19 08:42:50 +01:00
..
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:30 +01:00
2017-11-02 11:10:55 +01:00
2018-01-17 09:45:20 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-09 16:28:45 -07:00
2018-01-17 09:45:26 +01:00
2018-03-15 10:54:24 +01:00
2017-11-02 11:10:55 +01:00
2018-01-23 19:58:17 +01:00
2017-11-30 08:40:45 +00:00
2018-03-08 22:41:13 -08:00
2017-08-09 16:57:38 -07:00
2018-02-16 20:22:45 +01:00
2018-02-25 11:07:52 +01:00
2017-10-18 09:12:40 +01:00
2017-11-11 15:45:09 +09:00
2017-06-16 11:48:40 -04:00
2017-08-22 13:40:23 -07:00
2017-11-02 11:10:55 +01:00
2017-11-01 12:19:03 +09:00
2018-03-15 10:54:23 +01:00
2018-03-15 10:54:24 +01:00
2017-11-02 11:10:55 +01:00
2017-07-03 02:31:22 -07:00
2018-02-25 11:07:45 +01:00
2018-01-23 19:58:12 +01:00
2017-12-20 10:10:31 +01:00
2017-07-04 22:35:16 +01:00
2017-11-02 11:10:55 +01:00
2018-03-03 10:24:35 +01:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:28 +01:00
2017-10-21 01:56:38 +01:00
2018-03-15 10:54:24 +01:00
2017-11-02 11:10:55 +01:00
2018-03-08 22:41:17 -08:00
2017-07-04 22:35:17 +01:00
2017-11-30 08:40:55 +00:00
2017-08-29 15:16:52 -07:00
2018-02-03 17:39:03 +01:00
2017-12-17 15:07:56 +01:00
2017-11-02 11:10:55 +01:00
2017-11-01 12:19:03 +09:00
2017-11-08 14:32:18 +09:00
2018-02-25 11:07:51 +01:00
2017-06-13 11:07:51 +02:00
2018-03-08 22:41:12 -08:00
2018-03-08 22:41:16 -08:00
2018-03-08 22:41:15 -08:00
2018-03-15 10:54:28 +01:00
2017-10-25 10:37:11 +09:00
2018-02-22 15:42:29 +01:00
2017-08-07 14:48:48 -07:00
2018-03-03 10:24:30 +01:00
2018-01-31 14:03:48 +01:00
2017-11-02 10:04:46 -07:00
2018-02-25 11:07:59 +01:00
2017-11-02 11:10:55 +01:00
2018-03-03 10:24:34 +01:00
2017-11-02 11:10:55 +01:00
2018-03-19 08:42:50 +01:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:23 +01:00