From: Guillaume Gaudonville Date: Tue, 29 Jun 2010 18:29:00 +0000 (+0000) Subject: ixgbe: skip non IPv4 packets in ATR filter X-Git-Tag: v2.6.35-rc5~14^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3ead2413cb99d3e6265577b12537434e229d8c2;p=pandora-kernel.git 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 Acked-by: Peter P Waskiewicz Jr Signed-off-by: Don Skidmore Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed