Re: sockmap redirect doesn't work all the time


Ferenc Fejes
 

Hi!

Are you sure about the problem? Try to log (with bpf_printk for example) the incoming packets in the BPF program to check if the really missing. I also encountered your problem in my experiments, but then it turned out the packets dropped because of insufficient receiver memory on the peer socket. I recommend you to try it with small messages (like 10kbyte, so you can count all the packets if the arriving properly, based on the BPF parser log). 

Thanks,
Ferenc

Join iovisor-dev@lists.iovisor.org to automatically receive all group messages.