summaryrefslogtreecommitdiff
path: root/oui-update.py
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2017-09-13 17:54:52 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-09-15 08:41:02 +0200
commit443d97581b9b715b8f40ae35fdeaf272caa296a4 (patch)
treeb558429433a627ec9c03f348bcdd668fa4568686 /oui-update.py
parent285ac73006e2e4af6e0e4cb0eaa178b13cdcba8f (diff)
trafgen: fix packet socket initialization with multiple CPUs
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 <pabeni@redhat.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'oui-update.py')
0 files changed, 0 insertions, 0 deletions
d=da50ae2eae96e00e0188b24014efc10161e60925'>plain -rw-r--r--ib_user_mad.h8791logplain -rw-r--r--ib_user_sa.h2222logplain -rw-r--r--ib_user_verbs.h21586logplain -rw-r--r--mlx4-abi.h2864logplain -rw-r--r--mlx5-abi.h7480logplain -rw-r--r--mthca-abi.h2932logplain -rw-r--r--nes-abi.h3380logplain -rw-r--r--ocrdma-abi.h3918logplain -rw-r--r--qedr-abi.h2559logplain -rw-r--r--rdma_netlink.h4980logplain