openvswitch: Reset key metadata for packet execution.
authorPravin B Shelar <pshelar@nicira.com>
Tue, 10 Feb 2015 21:35:16 +0000 (13:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Feb 2015 22:40:15 +0000 (14:40 -0800)
commitb35725a285768d85b5ba1be7fe5002654a65ce88
treeb17534490b4f67d0a36ac20941c6cf97a6c57f6f
parent673e2baaa6d986e2fcd9c867661d8113f6c7dc7b
openvswitch: Reset key metadata for packet execution.

Userspace packet execute command pass down flow key for given
packet. But userspace can skip some parameter with zero value.
Therefore kernel needs to initialize key metadata to zero.

Fixes: 0714812134 ("openvswitch: Eliminate memset() from flow_extract.")
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow.c