diff options
author | Eyal Birger <eyal.birger@gmail.com> | 2022-05-20 13:48:45 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2022-06-10 11:01:36 +0200 |
commit | b5c8b3fe8946c1927155599dfb79045477901009 (patch) | |
tree | be89386146a9adb3992682354754d16afebc8fb1 /net/ipv4/nexthop.c | |
parent | 6cbd05b2d07a651e00c76d287a5f44994cbafe60 (diff) |
xfrm: no need to set DST_NOPOLICY in IPv4
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 <eyal.birger@gmail.com>
Reviewed-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4/nexthop.c')
0 files changed, 0 insertions, 0 deletions