diff options
author | Davide Caratti <dcaratti@redhat.com> | 2021-11-12 11:33:12 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-11-16 19:17:38 -0800 |
commit | 1d127effdc1750d1f43de42100185430ea0c90bf (patch) | |
tree | 2f2a9bbf76d2e0c4987009a045a74abeeb13468f /net/unix/af_unix.c | |
parent | f799ada6bf2397c351220088b9b0980125c77280 (diff) |
selftests: add a test case for mirred egress to ingress
add a selftest that verifies the correct behavior of TC act_mirred egress
to ingress: in particular, it checks if the dst_entry is removed from skb
before redirect egress -> ingress. The correct behavior is: an ICMP 'echo
request' generated by ping will be received and generate a reply the same
way as the one generated by mausezahn.
Suggested-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Cong Wang <cong.wang@bytedance.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions