]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit924e1c0486a83a7f9e674858ccbf1378aee00f6d
tree39db2219a523ec8a99951b09eb7794e2e8c09317
parent13e002469996958183a58b53c9b6449b203d25f9
net_sched: fix qdisc_pkt_len_init()

commit b8b60fd76dde9 (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