Skip to content
Commit 7b5add9a authored by Dan Carpenter's avatar Dan Carpenter Committed by Paolo Abeni
Browse files

ixgbe: fix crash with empty VF macvlan list



The adapter->vf_mvs.l list needs to be initialized even if the list is
empty.  Otherwise it will lead to crashes.

Fixes: a1cbb15c ("ixgbe: Add macvlan support for VF")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Link: https://lore.kernel.org/r/ZSADNdIw8zFx1xw2@kadam


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 1b9d8bc1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment