On 2017-09-13 at 17:54:52 +0200, Paolo Abeni <pab...@redhat.com> wrote: > The commit 78c13b71e196 ("trafgen: Allow to generate packets > to output pcap file") introduced a regression when output is > a network device and multiple CPU are in use: the packet > socket is created before fork() and thus the socket is shared > among all the processes: all of them except the first will > fail while setting the tx_ring. > > Fix it splitting the io open() helper in a create() op, > called before forking, and the open() op called by each process. > > Fixes: 78c13b71e196 ("trafgen: Allow to generate packets to output pcap file") > Signed-off-by: Paolo Abeni <pab...@redhat.com>
Applied, thanks a lot Paolo! -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.