Sabrina Dubroca
8dfb4eba41
esp4: add length check for UDP encapsulation
...
esp_output_udp_encap can produce a length that doesn't fit in the 16
bits of a UDP header's length field. In that case, we'll send a
fragmented packet whose length is larger than IP_MAX_MTU (resulting in
"Oversized IP packet" warnings on receive) and with a bogus UDP
length.
To prevent this, add a length check to esp_output_udp_encap and return
-EMSGSIZE on failure.
This seems to be older than git history.
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net >
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com >
2019-03-26 08:39:30 +01:00
..
2018-12-19 00:28:05 +01:00
2018-12-25 17:07:49 +09:00
2018-12-06 13:26:07 -08:00
2018-10-23 10:57:06 -07:00
2019-01-23 11:18:00 -08:00
2019-02-12 13:30:43 -05:00
2018-12-27 13:53:32 -08:00
2019-02-19 00:17:03 +01:00
2019-01-16 15:46:46 -08:00
2019-02-23 18:36:06 -08:00
2018-10-23 10:57:06 -07:00
2019-01-22 11:33:46 +01:00
2019-02-18 18:05:33 +01:00
2019-02-17 15:48:43 -08:00
2019-02-01 14:49:10 -08:00
2019-01-27 23:11:55 -08:00
2018-10-04 09:40:52 -07:00
2019-02-25 09:34:52 -08:00
2018-12-03 15:40:30 -08:00
2018-12-24 16:19:56 -08:00
2019-03-26 08:39:30 +01:00
2019-03-26 08:35:36 +01:00
2018-11-10 16:55:11 -08:00
2018-09-17 18:43:42 -07:00
2019-03-26 08:35:36 +01:00
2019-01-31 08:58:46 -08:00
2018-12-03 14:15:26 -08:00
2018-10-22 19:59:20 -07:00
2019-02-22 14:00:40 +01:00
2018-09-28 12:46:07 +08:00
2019-02-26 13:23:17 -08:00
2018-11-27 16:37:20 -08:00
2019-02-16 10:41:42 +01:00
2019-02-27 21:45:24 -08:00
2018-12-14 11:44:31 -08:00
2019-01-27 10:38:04 -08:00
2019-02-27 12:47:08 -08:00
2019-01-16 13:35:21 -08:00
2019-02-12 13:37:23 -05:00
2019-02-21 16:23:56 -08:00
2019-01-31 09:43:27 -08:00
2018-12-18 13:13:56 +01:00
2019-01-27 10:40:01 -08:00
2019-02-06 10:54:07 -08:00
2019-02-28 10:31:31 -08:00
2019-02-28 10:33:40 -08:00
2019-02-21 10:19:20 -08:00
2018-10-15 12:23:19 -07:00
2019-02-16 17:38:01 -08:00
2018-12-12 16:34:22 -08:00
2019-02-26 14:50:50 -08:00
2019-01-28 23:07:08 -08:00
2019-02-20 20:06:28 -08:00
2019-02-08 22:32:05 -08:00
2019-02-11 15:50:56 +01:00
2019-02-23 18:41:06 -08:00
2019-02-21 16:32:25 +01:00
2019-03-26 08:35:36 +01:00
2019-02-22 11:49:28 -08:00
2018-12-19 11:21:37 -08:00
2019-02-25 10:40:57 -08:00