linux_dsm_epyc7002/drivers/net/ethernet/intel/ixgbevf
Florian Fainelli bd9d55929d ixgbevf: fix skb->pkt_type checks
skb->pkt_type is not a bitmask, but contains only value at a time from
the range defined in include/uapi/linux/if_packet.h.

Checking it like if it was a bitmask of values would also cause
PACKET_OTHERHOST, PACKET_LOOPBACK and PACKET_FASTROUTE to be matched by
this check since their lower 2 bits are also set, although that does not
fix a real bug, it is still potentially confusing.

This bogus check was introduced in commit 815cccbf ("ixgbe: add setlink,
getlink support to ixgbe and ixgbevf").

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-03-08 00:14:49 -08:00
..
defines.h ixgbevf: merge ixgbevf_tx_map and ixgbevf_tx_queue into a single function 2014-01-17 19:15:10 -08:00
ethtool.c ixgbevf: add tx counters 2014-01-17 19:15:10 -08:00
ixgbevf_main.c ixgbevf: fix skb->pkt_type checks 2014-03-08 00:14:49 -08:00
ixgbevf.h ixgbevf: redo dma mapping using the tx buffer info 2014-01-17 19:15:10 -08:00
Makefile ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
mbx.c ixgbevf: Fix code for handling timeout 2012-09-24 00:21:51 -07:00
mbx.h ixgbevf: Add VF DCB + SR-IOV support 2012-10-22 21:15:35 -07:00
regs.h ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
vf.c net:drivers/net: Miscellaneous conversions to ETH_ALEN 2013-10-02 17:04:45 -04:00
vf.h ixgbevf: Add VF DCB + SR-IOV support 2012-10-22 21:15:35 -07:00