]> git.ipfire.org Git - people/ms/suricata.git/commit - src/source-af-packet.c
af-packet: fix init sync with no traffic
authorVictor Julien <victor@inliniac.net>
Tue, 18 Mar 2014 09:46:30 +0000 (10:46 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Mar 2014 09:46:30 +0000 (10:46 +0100)
commit806844d852641cc8ab7fcd5f47c493a5fbe6d18c
tree1d8c13247bc2db1c2e43ce1da7edc61bca15f948
parent238ff23111f78073c4ebefe9fc1de72ea54a74d3
af-packet: fix init sync with no traffic

Previously the sync code would depend on traffic to complete. This
patch adds poll support and can complete the setup if the poll timeout
is reached as well.

Part of bug #1130.
src/source-af-packet.c