Files
linux/include/linux
Daniel Axtens 2b16f04872 net: create skb_gso_validate_mac_len()
If you take a GSO skb, and split it into packets, will the MAC
length (L2 + L3 + L4 headers + payload) of those packets be small
enough to fit within a given length?

Move skb_gso_mac_seglen() to skbuff.h with other related functions
like skb_gso_network_seglen() so we can use it, and then create
skb_gso_validate_mac_len to do the full calculation.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-01 09:36:03 -05:00
..
2018-01-08 11:03:35 +00:00
2018-01-02 13:59:16 -05:00
2017-11-30 16:55:35 +00:00
2017-06-08 18:52:36 -07:00
2017-11-15 18:21:04 -08:00
2018-01-03 14:03:48 +01:00
2017-08-24 13:23:03 -07:00
2017-11-27 16:19:56 -05:00
2017-07-17 13:42:48 +02:00
2018-01-01 12:40:27 -07:00
2018-01-25 14:10:39 -08:00
2017-08-07 17:22:14 +02:00
2017-11-13 01:41:20 +01:00
2017-11-15 18:21:06 -08:00
2017-06-21 14:37:12 -04:00
2018-01-17 11:30:16 +00:00
2017-11-15 18:21:05 -08:00
2017-12-29 21:13:04 +01:00
2017-11-15 18:21:01 -08:00
2017-11-17 16:10:04 -08:00
2017-10-12 15:41:05 +02:00
2017-11-15 18:21:01 -08:00
2017-12-01 13:09:40 -08:00
2017-10-07 10:45:02 -06:00
2017-08-28 20:51:22 +02:00
2018-01-03 11:00:22 -05:00
2018-01-31 17:18:38 -08:00
2018-01-31 17:18:37 -08:00
2017-11-17 16:10:00 -08:00
2017-07-25 18:05:25 +02:00
2017-12-14 16:00:49 -08:00
2018-01-31 17:18:40 -08:00
2017-11-15 18:21:06 -08:00
2018-01-31 17:18:37 -08:00
2017-11-09 10:23:28 +01:00
2017-11-17 16:10:04 -08:00
2017-11-17 16:10:04 -08:00
2017-11-13 01:33:48 +01:00
2017-12-16 02:05:48 +01:00
2017-11-27 16:19:55 -05:00
2017-12-11 14:37:11 -07:00
2017-11-07 12:22:21 +01:00
2017-11-27 16:19:55 -05:00
2017-07-06 16:24:30 -07:00
2018-01-29 12:02:54 -05:00
2017-11-15 18:21:01 -08:00
2017-11-15 18:21:06 -08:00
2017-11-15 18:21:01 -08:00
2018-01-18 11:56:49 +01:00
2018-01-15 09:35:45 +01:00
2017-10-11 22:36:54 -04:00
2017-07-24 17:50:37 +02:00
2017-10-04 10:29:22 +02:00
2017-11-27 16:19:54 -05:00
2017-08-15 09:02:07 -07:00
2017-08-15 09:02:08 -07:00