net/sfc: fix initialization of flow structure
authorRoman Zhukov <roman.zhukov@oktetlabs.ru>
Thu, 18 Jan 2018 07:32:55 +0000 (07:32 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commit13195b557b3e20bb84fff0f313137125c0cadfde
tree8eb533ee433e91521b090fc8daeebade9f376e12
parent95ae196ae10b69f991736ce8070c0587cf3d27aa
net/sfc: fix initialization of flow structure

The rte_flow is already filled in with zeros in the
case of create. So memset() with zeros is needed only
in validation.

Fixes: a9825ccf5bb8 ("net/sfc: support flow API filters")
Cc: stable@dpdk.org
Signed-off-by: Roman Zhukov <roman.zhukov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_flow.c