inliniac/suricata — pull request #951 by regit (2014-04-23 09:42:40+00:00)
Title: af-packet: exit in case of a fatal error

During socket creation all error cases were leading to suricata to
retry the opening of capture. This patch updates this behavior to
have fatal and recoverable error case. In case of a fatal error,
suricata is leaving cleanly.

Redmine ticket: https://redmine.openinfosecfoundation.org/issues/1159

PR builds:
- PR build: https://buildbot.suricata-ids.org/builders/regit/builds/129
- PR pcaps: https://buildbot.suricata-ids.org/builders/regit-pcap/builds/68