Tracking: Bug #6302: af-packet: fails to handle null bpf-filter - Suricata - Open Information Security Foundation
Workaround as you have found is to just comment it out.