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
..
2017-11-02 11:10:55 +01:00
2018-01-30 17:58:07 -08:00
2017-11-21 15:57:07 -08:00
2018-01-16 15:01:33 -05:00
2018-01-16 15:01:33 -05:00
2018-01-31 14:31:10 -08:00
2018-01-16 15:01:33 -05:00
2018-01-31 14:31:10 -08:00
2018-01-31 14:31:10 -08:00
2017-09-26 13:36:44 -07:00
2018-01-22 16:13:20 -05:00
2018-01-31 14:31:10 -08:00
2018-01-26 10:46:44 +01:00
2017-11-21 05:38:32 -10:00
2018-02-01 09:36:03 -05:00
2017-08-09 16:57:38 -07:00
2018-01-31 14:31:10 -08:00
2018-01-31 14:31:10 -08:00
2017-10-18 09:12:40 +01:00
2018-01-23 19:22:38 -05:00
2017-10-25 13:00:27 +09:00
2017-11-04 09:26:51 +09:00
2017-11-01 12:19:03 +09:00
2018-01-31 14:31:10 -08:00
2018-01-31 14:31:10 -08:00
2018-01-16 15:01:33 -05:00
2017-11-27 16:20:04 -05:00
2018-01-24 23:44:15 -05:00
2018-01-10 09:45:11 +01:00
2018-01-19 15:10:23 -05:00
2017-11-21 16:35:54 -08:00
2018-01-16 15:01:33 -05:00
2018-01-22 14:03:28 +01:00
2017-11-04 09:26:51 +09:00
2017-12-04 11:32:39 -05:00
2017-12-18 14:50:11 -05:00
2018-01-31 14:31:10 -08:00
2017-11-18 10:32:41 +09:00
2018-01-19 22:59:33 -05:00
2018-01-16 15:01:33 -05:00
2017-11-27 16:20:04 -05:00
2017-11-08 16:12:33 +09:00
2018-01-31 10:26:30 -05:00
2018-01-31 14:31:10 -08:00
2018-01-31 14:31:10 -08:00
2017-11-01 12:19:03 +09:00
2017-12-04 11:32:39 -05:00
2018-01-31 14:31:10 -08:00
2017-11-27 16:20:04 -05:00
2018-01-16 15:01:33 -05:00
2018-01-31 14:31:10 -08:00
2018-02-01 09:36:03 -05:00
2018-01-31 14:31:10 -08:00
2018-01-31 14:31:10 -08:00
2017-12-28 14:28:22 -05:00
2018-01-30 19:03:48 -08:00
2017-11-10 13:41:40 +09:00
2018-01-31 14:31:10 -08:00
2018-01-31 10:26:30 -05:00
2018-01-31 14:31:10 -08:00
2018-01-30 17:58:07 -08:00
2017-11-02 11:10:55 +01:00
2018-01-24 19:13:45 -05:00
2017-11-21 16:35:54 -08:00
2018-01-26 10:22:53 -05:00
2017-09-20 15:36:18 -07:00
2018-01-08 18:01:11 +01:00
2017-11-02 11:10:55 +01:00
2018-01-31 14:31:10 -08:00