net_sched: fix qdisc_pkt_len_init()
authorEric Dumazet <edumazet@google.com>
Wed, 16 Jan 2013 05:14:21 +0000 (21:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2013 05:41:19 +0000 (00:41 -0500)
commit757b8b1d2bfa1210592bfd2984852b155eb58746
tree39db2219a523ec8a99951b09eb7794e2e8c09317
parent247fa82be1301e4f89eaa5dc10be62a9cc84e8c5
net_sched: fix qdisc_pkt_len_init()

commit 1def9238d4aa2 (net_sched: more precise pkt_len computation)
does a wrong computation of mac + network headers length, as it includes
the padding before the frame.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c