From: Jason Wang Date: Mon, 25 Mar 2013 20:19:59 +0000 (+0000) Subject: net_sched: better precise estimation on packet length for untrusted packets X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~326^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15e5a030716468dce4032fa0f398d840fa2756f6;p=pandora-kernel.git 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 Signed-off-by: Jason Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed