Marcelo Ricardo Leitner
ae7ef81ef0
skbuff: introduce skb_gso_validate_mtu
...
skb_gso_network_seglen is not enough for checking fragment sizes if
skb is using GSO_BY_FRAGS as we have to check frag per frag.
This patch introduces skb_gso_validate_mtu, based on the former, which
will wrap the use case inside it as all calls to skb_gso_network_seglen
were to validate if it fits on a given TMU, and improve the check.
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Tested-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-03 19:37:21 -04:00
..
2016-05-10 16:00:25 -04:00
2016-05-05 16:39:51 +02:00
2015-07-31 15:21:30 -07:00
2016-04-27 15:43:10 -04:00
2015-12-22 15:57:54 -05:00
2016-04-07 16:53:29 -04:00
2015-08-25 13:37:31 -07:00
2015-03-31 13:51:54 -04:00
2016-05-16 13:46:23 -04:00
2015-05-28 11:23:20 +08:00
2016-03-03 16:35:20 -05:00
2015-09-02 15:31:00 -07:00
2016-04-27 22:48:24 -04:00
2015-10-23 02:38:18 -07:00
2016-05-29 22:24:21 -07:00
2016-05-09 15:59:24 -04:00
2016-02-11 03:54:15 -05:00
2016-04-27 22:48:24 -04:00
2016-03-13 23:55:13 -04:00
2016-05-06 15:51:47 -04:00
2016-05-03 16:08:14 -04:00
2016-05-24 14:33:48 -07:00
2016-05-20 18:03:16 -04:00
2016-05-20 18:03:17 -04:00
2016-04-07 16:53:29 -04:00
2016-06-03 19:37:21 -04:00
2016-05-20 18:03:17 -04:00
2016-03-11 15:14:26 -05:00
2016-02-16 20:21:48 -05:00
2016-04-27 22:48:24 -04:00
2016-05-03 16:08:14 -04:00
2016-05-31 14:07:49 -07:00
2016-05-31 14:07:49 -07:00
2015-08-13 17:08:39 -07:00
2016-03-03 15:41:07 -05:00
2015-10-05 03:16:47 -07:00
2016-02-11 04:27:36 -05:00
2015-09-29 20:21:32 +02:00
2015-10-08 04:27:02 -07:00
2016-05-03 16:08:14 -04:00
2016-05-03 16:08:14 -04:00
2016-04-27 22:48:24 -04:00
2016-05-15 13:32:48 -04:00
2016-05-20 18:03:15 -04:00
2016-04-27 22:48:24 -04:00
2015-07-31 17:07:11 -07:00
2016-05-16 13:46:23 -04:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2015-03-02 13:06:31 -05:00
2016-05-20 18:03:15 -04:00
2016-05-20 19:56:02 -04:00
2015-09-17 17:18:37 -07:00
2015-03-31 13:58:35 -04:00
2016-01-15 15:07:23 -05:00
2015-10-24 06:54:12 -07:00
2015-12-22 16:26:31 -05:00