Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/dumpcap: fix mbuf pool ring type
[ upstream commit 27a26d65f8039ec38a49932c4bb73801b4fd62b8 ] The internal buffer pool used for copies of mbufs captured needs to be thread safe. If capturing on multiple interfaces or multiple queues, the same pool will be used (consumers). And if the capture ring gets full, the queues will need to put back the capture buffer which leads to multiple producers. Bugzilla ID: 1271 Fixes: cbb4414 ("app/dumpcap: add new packet capture application") Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
- Loading branch information