aboutsummaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-03-25 20:19:59 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-27 10:39:08 -0700
commit15aaf7e76567ab59307bfd68aa0be41abaa5b003 (patch)
tree5b159d8b8784d431e9b21dfdfefc295d75da1e16 /lib/timerqueue.c
parentacc196ccdd3cc88567892243f86b74f9c30db6b2 (diff)
net_sched: better precise estimation on packet length for untrusted packets
[ Upstream commit 15e5a030716468dce4032fa0f398d840fa2756f6 ] gso_segs were reset to zero when kernel receive packets from untrusted source. But we use this zero value to estimate precise packet len which is wrong. So this patch tries to estimate the correct gso_segs value before using it in qdisc_pkt_len_init(). Signed-off-by: Jason Wang <jasowang@redhat.com> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions