ip: The check for 'same packet' must include the FIB index 68/35768/2
authorNeale Ranns <neale@graphiant.com>
Thu, 24 Mar 2022 12:28:42 +0000 (12:28 +0000)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 24 Mar 2022 15:39:16 +0000 (15:39 +0000)
commitaa7cfd04e7bb89208afe57cd84e96ced32153044
tree7eb689d8d54aa30930c889b78de594d068e4e169
parente99f762346ae018ce5b76b729a12f0cd091aec43
ip: The check for 'same packet' must include the FIB index

Type: fix

otherwise if two packets arrive with the same source address but from different VRFs, then they are treated as the same and they use the same LB and thus share the same fate. but the lookup, when done, results in two different LBs, and hence the fate can be different.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: Id6e16f7c577a561d9ddd7066339fa4385361d07f
src/vnet/ip/ip4_forward.c
test/test_ip4.py
test/vpp_ip.py