diff options
author | Florin Coras <fcoras@cisco.com> | 2017-12-16 08:31:06 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-12-21 20:53:31 +0000 |
commit | 79ae2d306269524b9de662dbbf532a04e11b7634 (patch) | |
tree | 70e6a66d1551e31a2e0354221bb1c0b761b1cbdd /src/vnet/fib/fib_entry_src.c | |
parent | 529a425b04751d0590de2f398a20bd36d0e25308 (diff) |
fib: make deag entries urpf extempt
Change-Id: Ie8f6bb4fcd3e4fa269e86a77d2f21c87f372b783
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/fib/fib_entry_src.c')
-rw-r--r-- | src/vnet/fib/fib_entry_src.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_entry_src.c b/src/vnet/fib/fib_entry_src.c index 1d73af3bf0d..66f5987a7cf 100644 --- a/src/vnet/fib/fib_entry_src.c +++ b/src/vnet/fib/fib_entry_src.c @@ -1077,6 +1077,10 @@ fib_entry_flags_update (const fib_entry_t *fib_entry, { esrc->fes_entry_flags &= ~FIB_ENTRY_FLAG_ATTACHED; } + if (rpath->frp_flags & FIB_ROUTE_PATH_DEAG) + { + esrc->fes_entry_flags |= FIB_ENTRY_FLAG_LOOSE_URPF_EXEMPT; + } } if (fib_route_attached_cross_table(fib_entry, rpath)) { |