]> git.ipfire.org Git - thirdparty/suricata.git/commit
af-packet: fix kernel offset issue 55/head
authorEric Leblond <eric@regit.org>
Thu, 6 Sep 2012 05:53:52 +0000 (07:53 +0200)
committerEric Leblond <eric@regit.org>
Thu, 6 Sep 2012 05:53:52 +0000 (07:53 +0200)
commit79c75bbb4d89d2a323646bf56874ae89ef0b0c40
treea7f85a7da53d26f36a20d705d4e8e244e49e7f16
parent12aae61a3c71d7306c5d99cea1b01ddb173bca65
af-packet: fix kernel offset issue

It seems that, in some case, there is a read waiting but the
offset in the ring buffer is not correct and Suricata need to
walk the ring to find the correct place and make the read.
src/source-af-packet.c