Tobias Brunner
62e7c68b61
kernel-pfkey: Clear receive buffer before sending request
...
Many of the messages sent by the kernel, including confirmations to our
requests, are sent as broadcasts to all PF_KEY sockets. So if an
external tool is used to manage SAs/policies (e.g. unrelated to IPsec)
the receive buffer might be filled, resulting in errors like these:
error sending to PF_KEY socket: No buffer space available
To avoid this, just clear the buffer before sending any message.
Fixes #3225 .
2019-10-25 13:53:06 +02:00
..
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-11-22 11:38:55 +01:00
2018-02-13 12:19:54 +01:00
2018-05-23 16:32:53 +02:00
2017-11-08 16:28:28 +01:00
2018-10-26 11:26:50 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2019-04-04 18:40:22 +02:00
2019-04-25 15:58:17 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2019-04-29 15:09:20 +02:00
2018-05-23 16:32:53 +02:00
2018-12-18 10:28:51 +01:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-09-11 18:18:49 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2017-04-26 20:38:00 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2017-07-27 13:07:24 +02:00
2017-07-27 13:07:23 +02:00
2019-03-14 11:56:20 +01:00
2019-04-25 14:31:33 +02:00
2018-05-23 16:32:53 +02:00
2017-05-26 13:56:44 +02:00
2018-05-23 16:32:53 +02:00
2019-10-22 14:14:44 +02:00
2019-10-25 13:53:06 +02:00
2018-05-23 16:32:53 +02:00
2018-02-13 12:19:54 +01:00
2019-10-24 17:43:21 +02:00
2018-02-13 12:19:54 +01:00
2019-04-25 14:31:33 +02:00
2019-08-22 15:18:06 +02:00
2018-02-13 12:19:54 +01:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-02-15 23:03:29 +01:00
2019-05-08 14:48:54 +02:00
2019-04-23 11:49:04 +02:00
2018-05-23 16:32:53 +02:00
2019-08-28 14:03:41 +02:00
2019-10-18 16:24:39 +02:00
2017-11-08 16:20:35 +01:00
2019-08-22 15:18:06 +02:00
2018-09-17 18:51:42 +02:00
2019-04-25 14:31:33 +02:00
2018-06-28 18:46:42 +02:00
2019-08-26 10:55:01 +02:00
2019-10-16 16:46:24 +02:00
2017-05-26 13:56:44 +02:00
2018-05-23 16:32:53 +02:00
2018-05-23 16:32:53 +02:00
2018-09-17 18:51:42 +02:00