net/netvsc: fix crash in secondary process
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 13 Jan 2020 19:12:38 +0000 (11:12 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:26 +0000 (19:46 +0100)
commitf8279f47dd89c026d760ebce99452393d1270849
treee5475922ebda8186a969c9fe22ec208a12001751
parent89fc6763b1c964b89bd3ac21f55d802f48d5f6b9
net/netvsc: fix crash in secondary process

The secondary process would crash trying to get the offload
capability of the device. Since the device capabilities were
already set by the primary process this was unnecessary.

Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_ethdev.c