From: Eric Dumazet Date: Tue, 5 Feb 2013 20:22:20 +0000 (+0000) Subject: net: reset mac header in dev_start_xmit() X-Git-Tag: v3.9-rc1~139^2~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d1ccff627806829c46091bd9d9835302a3fbf5f;p=pandora-kernel.git net: reset mac header in dev_start_xmit() On 64 bit arches : There is a off-by-one error in qdisc_pkt_len_init() because mac_header is not set in xmit path. skb_mac_header() returns an out of bound value that was harmless because hdr_len is an 'unsigned int' On 32bit arches, the error is abysmal. This patch is also a prereq for "macvlan: add multicast filter" Signed-off-by: Eric Dumazet Cc: Ben Greear Signed-off-by: David S. Miller --- Reading git-diff-tree failed