aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2013-03-25 20:19:59 +0000
committerDavid S. Miller <[email protected]>2013-03-26 12:44:44 -0400
commit15e5a030716468dce4032fa0f398d840fa2756f6 (patch)
tree59a450599ed491e4bd117ea56a60f5ab79821586 /include/linux
parentf9ca8f74399f9195fd8e01f67a8424a8d33efa55 (diff)
net_sched: better precise estimation on packet length for untrusted packets
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(). Cc: Eric Dumazet <[email protected]> Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions