Files
strongswan-ext/src/libcharon/plugins
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
..
2017-07-27 13:07:23 +02:00
2019-04-25 14:31:33 +02:00
2019-04-25 14:31:33 +02:00
2019-08-22 15:18:06 +02:00
2019-10-18 16:24:39 +02:00
2019-08-22 15:18:06 +02:00
2019-04-25 14:31:33 +02:00
2019-10-16 16:46:24 +02:00