Re: [ovs-dev] [PATCH] odp-util: Initialize tun_key and tun_key_mask

2014-08-26 Thread Ben Pfaff
On Tue, Aug 26, 2014 at 02:49:55AM +0200, Thomas Graf wrote: > tun_key_to_attr() accesses tp_src and tp_dst which are currently > uinitialized. > > Signed-off-by: Thomas Graf Hmm, maybe we need to parse and format these fields too, but initializing them predictably is a good start. Applied, tha

[ovs-dev] [PATCH] odp-util: Initialize tun_key and tun_key_mask

2014-08-25 Thread Thomas Graf
tun_key_to_attr() accesses tp_src and tp_dst which are currently uinitialized. Signed-off-by: Thomas Graf --- lib/odp-util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/odp-util.c b/lib/odp-util.c index ffc3673..19d0627 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -1784,6 +