aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-02-05 20:22:20 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-06 15:59:47 -0500
commit6d1ccff627806829c46091bd9d9835302a3fbf5f (patch)
tree1caa7940d18321caa3973396ccd272230ddef604 /drivers/net/macvlan.c
parentnet: adjust skb_gso_segment() for calling in rx path (diff)
downloadlinux-dev-6d1ccff627806829c46091bd9d9835302a3fbf5f.tar.xz
linux-dev-6d1ccff627806829c46091bd9d9835302a3fbf5f.zip
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 <edumazet@google.com> Cc: Ben Greear <greearb@candelatech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions