linux/drivers/net/ethernet/intel/fm10k
Matthew Vick 33a44c2873 fm10k: Validate VLAN ID in fm10k_update_xc_addr_pf
Currently, fm10k_update_xc_addr_pf has an issue where it does not
properly drop the upper-most four bits of the VLAN ID due to type
promotion. Resolve the issue not by masking off the bits, but by
throwing an error if the VLAN ID is out-of-bounds.

Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-02-05 19:41:50 -08:00
..
fm10k_common.c fm10k: Add support for PF 2014-09-23 03:59:15 -07:00
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: Add support for IEEE DCBx 2014-09-23 03:59:21 -07:00
fm10k_debugfs.c fm10k: Add support for debugfs 2014-09-23 03:59:22 -07:00
fm10k_ethtool.c ethtool: Support for configurable RSS hash function 2014-12-08 21:07:10 -05:00
fm10k_iov.c fm10k: Add support for SR-IOV to driver 2014-09-23 03:59:21 -07:00
fm10k_main.c fm10k: Check tunnel header length in encap offload 2015-01-22 18:10:21 -08:00
fm10k_mbx.c fm10k: Add support for VF 2014-09-23 03:59:20 -07:00
fm10k_mbx.h fm10k: Add support for PF <-> VF mailbox 2014-09-23 03:59:20 -07:00
fm10k_netdev.c net/fm10k: Avoid double setting of NETIF_F_SG for the HW encapsulation feature mask 2015-01-22 18:10:20 -08:00
fm10k_pci.c fm10k: use netdev_rss_key_fill() helper 2014-11-16 15:59:12 -05:00
fm10k_pf.c fm10k: Validate VLAN ID in fm10k_update_xc_addr_pf 2015-02-05 19:41:50 -08:00
fm10k_pf.h fm10k: Add support for SR-IOV to PF core files 2014-09-23 03:59:21 -07:00
fm10k_ptp.c fm10k: Add support for PTP 2014-09-23 03:59:23 -07:00
fm10k_tlv.c fm10k: Add support for mailbox 2014-09-23 03:59:14 -07:00
fm10k_tlv.h fm10k: Add support for mailbox 2014-09-23 03:59:14 -07:00
fm10k_type.h fm10k: Increase the timeout for the data path reset 2015-01-22 18:10:21 -08:00
fm10k_vf.c fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_vf.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k.h fm10k: Reduce buffer size when pages are larger than 4K 2014-10-01 23:42:01 -07:00
Makefile fm10k: Add support for PTP 2014-09-23 03:59:23 -07:00