bpf bug.

Patch attached. If you have any questions feel free to ask.

Best,

Daniel

>From ac47891915fc128350f5e904bb78fd5eb745bad8 Mon Sep 17 00:00:00 2001
Message-Id: <ac47891915fc128350f5e904bb78fd5eb745bad8.1392394906.git.dborkman@redhat.com>
In-Reply-To: <cover.1392394906.git.dborkman@redhat.com>
References: <cover.1392394906.git.dborkman@redhat.com>
From: Daniel Borkmann <dborkman@redhat.com>
Date: Fri, 14 Feb 2014 12:35:35 +0100
Subject: [PATCH trinity] bpf: improvements in code generation and fixes

Dave reported that commit 3a83e2c2f893d6 seemed to have broken BPF
generation. This patch fixes callsites and improves BPF code
generation in general. Also, for debugging purposes, it adds
a BPF code disassembler. At some point in time, code generation
needs to be further improved to be more intelligent, for now,
we try to be less random and slightly adapt parameters as well.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>