Thread (4 messages) flat view 4 messages, 3 authors, 2022-06-23

Re: [PATCH ipsec-next] xfrm: no need to set DST_NOPOLICY in IPv4

From: Nicolas Dichtel <hidden>
Date: 2022-05-20 12:01:36
Also in: lkml

Le 20/05/2022 à 12:48, Eyal Birger a écrit :
This is a cleanup patch following commit e6175a2ed1f1
("xfrm: fix "disable_policy" flag use when arriving from different devices")
which made DST_NOPOLICY no longer be used for inbound policy checks.

On outbound the flag was set, but never used.

As such, avoid setting it altogether and remove the nopolicy argument
from rt_dst_alloc().

Signed-off-by: Eyal Birger <redacted>
Reviewed-by: Nicolas Dichtel <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help