linux/drivers/net/ethernet/intel/i40e
Lihong Yang 80598e6230 i40e: Check and set the PF driver state first in i40e_ndo_set_vf_mac
The PF driver state flag __I40E_VIRTCHNL_OP_PENDING needs to be
checked and set at the beginning of i40e_ndo_set_vf_mac. Otherwise,
if there are error conditions before it, the flag will be cleared
unexpectedly by this function to cause potential race conditions.
Hence move the check to the top of this function.

Signed-off-by: Lihong Yang <lihong.yang@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-05 16:53:25 -07:00
..
i40e_adminq_cmd.h i40e: Add support for X710 B/P & SFP+ cards 2019-05-04 17:24:48 -07:00
i40e_adminq.c i40e: Further implementation of LLDP 2019-05-03 14:31:34 -07:00
i40e_adminq.h
i40e_alloc.h
i40e_client.c i40e: Use struct_size() in kzalloc() 2019-05-04 17:34:43 -07:00
i40e_client.h
i40e_common.c i40e: Add support for X710 B/P & SFP+ cards 2019-05-04 17:24:48 -07:00
i40e_dcb_nl.c
i40e_dcb.c i40e: Update i40e_init_dcb to return correct error 2019-04-16 15:10:47 -07:00
i40e_dcb.h i40e: Update i40e_init_dcb to return correct error 2019-04-16 15:10:47 -07:00
i40e_ddp.c i40e: Implement DDP support in i40e driver 2019-04-16 15:10:21 -07:00
i40e_debugfs.c i40e: Use LLDP ethertype define ETH_P_LLDP 2019-06-05 13:04:29 -07:00
i40e_devids.h i40e: Add support for X710 B/P & SFP+ cards 2019-05-04 17:24:48 -07:00
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: Add support for X710 B/P & SFP+ cards 2019-05-04 17:24:48 -07:00
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c i40e: Add support for X710 B/P & SFP+ cards 2019-05-04 17:24:48 -07:00
i40e_nvm.c i40e: Revert ShadowRAM checksum calculation change 2019-05-04 17:30:58 -07:00
i40e_osdep.h
i40e_prototype.h i40e: Further implementation of LLDP 2019-05-03 14:31:34 -07:00
i40e_ptp.c i40e: save PTP time before a device reset 2019-04-16 15:10:38 -07:00
i40e_register.h
i40e_status.h
i40e_trace.h
i40e_txrx_common.h i40e: DRY rx_ptype handling code 2018-12-12 15:46:02 -08:00
i40e_txrx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
i40e_txrx.h i40e: add AF_XDP zero-copy Rx support 2018-08-29 12:25:53 -07:00
i40e_type.h i40e: Add support for X710 B/P & SFP+ cards 2019-05-04 17:24:48 -07:00
i40e_virtchnl_pf.c i40e: Check and set the PF driver state first in i40e_ndo_set_vf_mac 2019-06-05 16:53:25 -07:00
i40e_virtchnl_pf.h i40e: missing input validation on VF message handling by the PF 2019-05-04 17:28:04 -07:00
i40e_xsk.c i40e: add tracking of AF_XDP ZC state for each queue pair 2019-04-01 11:32:48 -07:00
i40e_xsk.h net: bpf: remove XDP_QUERY_XSK_UMEM enumerator 2019-02-15 15:14:22 +01:00
i40e.h i40e: Use LLDP ethertype define ETH_P_LLDP 2019-06-05 13:04:29 -07:00
Makefile i40e: Implement DDP support in i40e driver 2019-04-16 15:10:21 -07:00