]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Set flow-key members.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 17 Oct 2014 20:56:31 +0000 (13:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Oct 2014 03:54:02 +0000 (23:54 -0400)
commit60cbfbd80a827f0f1b024e82d9fae40798e98950
tree6179cf1f66d00161f84ed0e022b616fc1d65aeee
parentf1d06cdf114a0638c87a49e37193cd4df8bf93c1
openvswitch: Set flow-key members.

This patch adds missing memset which are required to initialize
flow key member. For example for IP flow we need to initialize
ip.frag for all cases.

Found by inspection.

This bug is introduced by commit 0abe9d86e517089c9ee1409db50a74658db422fa
("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