summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorEric Dumazet2012-02-25 01:51:05 +0100
committerDavid S. Miller2012-02-26 20:22:05 +0100
commit622121719934f60378279eb440d3cec2fc3176d2 (patch)
treeed5285b379efd994078cd2010968361bcc5759b3 /arch/s390
parentnetfilter: ctnetlink: support kernel-space dump filtering by ctmark (diff)
downloadkernel-qcow2-linux-622121719934f60378279eb440d3cec2fc3176d2.tar.gz
kernel-qcow2-linux-622121719934f60378279eb440d3cec2fc3176d2.tar.xz
kernel-qcow2-linux-622121719934f60378279eb440d3cec2fc3176d2.zip
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 <eric.dumazet@gmail.com> Cc: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions