diff options
author | Antony Antony <[email protected]> | 2024-04-30 09:09:29 +0200 |
---|---|---|
committer | Steffen Klassert <[email protected]> | 2024-05-01 10:06:27 +0200 |
commit | 304b44f0d5a4c2f91f82f7c31538d00485fb484c (patch) | |
tree | cf8a804020173cc515fe9d0f78ef419ee703f2fc /net/lapb/lapb_subr.c | |
parent | 601a0867f86cbb5e137ce485a7eb60cbf9fc5180 (diff) |
xfrm: Add dir validation to "in" data path lookup
Introduces validation for the x->dir attribute within the XFRM input
data lookup path. If the configured direction does not match the
expected direction, input, increment the XfrmInStateDirError counter
and drop the packet to ensure data integrity and correct flow handling.
grep -vw 0 /proc/net/xfrm_stat
XfrmInStateDirError 1
Signed-off-by: Antony Antony <[email protected]>
Reviewed-by: Sabrina Dubroca <[email protected]>
Reviewed-by: Nicolas Dichtel <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions