Florian Westphal
0ed4229b08
ipv6: defrag: drop non-last frags smaller than min mtu
...
don't bother with pathological cases, they only waste cycles.
IPv6 requires a minimum MTU of 1280 so we should never see fragments
smaller than this (except last frag).
v3: don't use awkward "-offset + len"
v2: drop IPv4 part, which added same check w. IPV4_MIN_MTU (68).
There were concerns that there could be even smaller frags
generated by intermediate nodes, e.g. on radio networks.
Cc: Peter Oskolkov <posk@google.com >
Cc: Eric Dumazet <edumazet@google.com >
Signed-off-by: Florian Westphal <fw@strlen.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-08-05 17:21:14 -07:00
..
2018-07-24 14:10:42 -07:00
2018-08-05 17:21:14 -07:00
2018-05-22 10:51:09 +02:00
2018-07-24 19:21:58 -07:00
2018-03-27 13:18:09 -04:00
2018-08-01 09:50:04 -07:00
2017-11-15 11:56:19 -08:00
2018-06-06 18:39:49 -07:00
2018-07-05 20:15:26 +09:00
2018-08-01 09:50:04 -07:00
2018-07-27 09:33:37 -07:00
2018-06-27 17:32:11 +02:00
2018-05-07 23:50:27 -04:00
2018-07-05 20:15:26 +09:00
2017-09-01 20:33:42 -07:00
2018-05-11 00:10:56 +02:00
2017-05-21 13:42:36 -04:00
2018-08-05 17:12:44 -07:00
2017-01-28 10:33:06 -05:00
2018-06-20 08:03:06 +09:00
2018-02-16 15:57:42 -05:00
2018-08-01 21:32:30 -07:00
2018-07-07 10:58:49 +09:00
2018-07-20 21:17:12 -07:00
2017-11-02 11:10:55 +01:00
2018-07-06 11:19:07 +09:00
2018-06-26 11:33:04 +09:00
2018-07-24 19:21:58 -07:00
2018-06-01 13:56:30 -04:00
2016-11-02 15:18:36 -04:00
2018-06-07 09:31:42 +02:00
2018-06-22 13:43:27 +09:00
2016-11-04 14:45:23 -04:00
2018-07-20 21:17:12 -07:00
2018-07-24 14:10:43 -07:00
2017-11-02 11:10:55 +01:00
2018-07-24 19:21:58 -07:00
2016-12-25 17:21:23 +01:00
2018-07-16 13:45:16 -07:00
2018-07-16 17:51:48 +02:00
2017-11-24 01:37:35 +09:00
2018-07-07 10:58:49 +09:00
2018-05-16 07:24:30 +02:00
2017-03-24 13:17:07 -07:00
2018-07-07 10:58:49 +09:00
2018-08-05 17:21:14 -07:00
2018-07-23 11:19:02 -07:00
2018-07-03 10:29:26 +09:00
2018-07-18 15:10:47 -07:00
2018-07-23 09:39:07 -07:00
2018-06-22 13:43:27 +09:00
2018-06-01 13:56:30 -04:00
2018-03-25 20:53:54 -04:00
2018-04-25 13:02:15 -04:00
2018-07-21 19:31:46 -07:00
2018-06-26 11:33:04 +09:00
2017-11-02 11:10:55 +01:00
2018-06-26 11:33:04 +09:00
2018-07-07 10:58:49 +09:00
2018-05-16 07:24:30 +02:00
2017-12-19 08:23:21 +01:00
2017-06-16 11:48:39 -04:00
2018-07-11 15:26:35 +02:00
2017-06-02 13:57:27 -04:00
2018-03-07 10:54:29 +01:00
2018-03-04 17:49:17 -05:00
2018-06-03 09:31:58 -04:00
2017-02-09 10:22:17 +01:00
2018-04-26 07:51:48 +02:00
2018-04-16 07:50:09 +02:00