summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGuillaume Gaudonville <guillaume.gaudonville@6wind.com>2010-06-29 20:29:00 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-30 08:12:41 +0200
commitd3ead2413cb99d3e6265577b12537434e229d8c2 (patch)
tree095cf623549694dd1944f6400d545d02c365a134 /include
parentixgbe: disable tx engine before disabling tx laser (diff)
downloadlinux-d3ead2413cb99d3e6265577b12537434e229d8c2.tar.xz
linux-d3ead2413cb99d3e6265577b12537434e229d8c2.zip
ixgbe: skip non IPv4 packets in ATR filter
In driver ixgbe, ixgbe_atr may cause crashes for non-ipv4 packets. Just add a test to check skb->protocol. It may crash on short packets due to ip_hdr() access. Signed-off-by: Guillaume Gaudonville <guillaume.gaudonville@6wind.com> Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions