Daniel Axtens ee78bbef8d net: sched: tbf: handle GSO_BY_FRAGS case in enqueue
tbf_enqueue() checks the size of a packet before enqueuing it.
However, the GSO size check does not consider the GSO_BY_FRAGS
case, and so will drop GSO SCTP packets, causing a massive drop
in throughput.

Use skb_gso_validate_mac_len() instead, as it does consider that
case.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-04 17:49:17 -05:00
..
2018-02-15 14:29:27 -08:00
2017-11-01 12:19:03 +09:00
2018-02-16 15:16:05 -05:00
2017-11-08 16:12:33 +09:00
2018-02-26 15:07:04 -05:00
2018-02-27 14:41:48 -05:00
2018-02-01 09:51:57 -08:00