diff options
| author | Florian Fainelli <[email protected]> | 2014-02-28 15:46:49 -0800 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-03-08 00:14:49 -0800 |
| commit | bd9d55929df54b67708460d7eda84a7d7924009d (patch) | |
| tree | b82267ecca20a4103c6a376f922f875492cff0e6 /include/linux/timerqueue.h | |
| parent | 96dee024ca4799d6d21588951240035c21ba1c67 (diff) | |
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 <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions