From: Eric Dumazet Date: Sat, 25 Feb 2012 00:51:05 +0000 (+0000) Subject: mlx4_en: dont change mac_header on xmit X-Git-Tag: v3.4-rc1~177^2~176 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=622121719934f60378279eb440d3cec2fc3176d2;p=pandora-kernel.git mlx4_en: dont change mac_header on xmit A driver xmit function is not allowed to change skb without special care. mlx4_en_xmit() should not call skb_reset_mac_header() and instead should use skb->data to access ethernet header. This removes a dumb test : if (ethh && ethh->h_dest) Also remove this slow mlx4_en_mac_to_u64() call, we can use get_unaligned() to get faster code. Signed-off-by: Eric Dumazet Cc: Yevgeny Petrilin Signed-off-by: David S. Miller --- Reading git-diff-tree failed