-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/pcap: use pcap_next_ex API for unblocking Rx
Use pcap_next_ex rather than just pcap_next because pcap_next always blocks if there is no packets to receive. Bugzilla ID: 1526 Fixes: 4c17330 ("pcap: add new driver") Cc: stable@dpdk.org Reported-by: Ofer Dagan <ofer.d@claroty.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Tested-by: Ofer Dagan <ofer.d@claroty.com>
- Loading branch information
1 parent
e71db26
commit f2e424a
Showing
2 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters