Closed tjcw closed 5 days ago
Attempting this causes the injected packet to be lost. However a slight revision of this, reinjecting the packet at the bridge, does succeed. This is in branch tjcw-integration-1.6 at commit aef2a5f51837effba86951ae9dc3917cf4b21715 . The run script for the test is AF_XDP-filter/ping-namespace-direct-with-dummy-at-bridge/run.sh .
It should also be possible to reinject the packet to the same queue from where it was redirected to user space. This should cause the packet to go to the transmitting interface, then be redirected again to the veth where it was initially redirected to user space, then be sent to the bridge and on its way. Pakcet time-to-live should be decremented by 1 at each hop. and the packet should reach its destination before the time-to-live gets to zero.