]> 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)
commit69564dc7551236751d29bbf9f1634b0fbd6997c6
tree6179cf1f66d00161f84ed0e022b616fc1d65aeee
parent8847db6d9061e56a53773ccd5fb6b05f10b4c3f3
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 4092b8ed700f68b00832e228d2a5305a1087ea1b
("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