dpif-netdev: Initialize upcall->packet when queuing to userspace.
authorBen Pfaff <blp@nicira.com>
Mon, 4 Aug 2014 19:16:25 +0000 (12:16 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 5 Aug 2014 17:52:16 +0000 (10:52 -0700)
commitff9d27602f0ffe73ab87ed1cc513616e10744ce9
treecdb2dbfd713eedc574dabb0a84011ec3931e0ac5
parent9bcefb956d8f712eded13e40e27e55f885c362f2
dpif-netdev: Initialize upcall->packet when queuing to userspace.

Only the data and size members were being initialized, but all of them
should be.

This is inspired by commit b6f4590fa036 (dpif-netdev: Initialize
upcall->packet when queuing to userspace.) from master.  The background is
not exactly the same as on master (the commit that it references is not
on branch-2.3).

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/dpif-netdev.c