diff options
author | 2013-06-01 19:01:32 +0000 | |
---|---|---|
committer | 2013-06-01 19:01:32 +0000 | |
commit | 53e2494849a3f145f758594d90afb931d737a201 (patch) | |
tree | fc5b44858f6825a5a69dfa52efe6668256b3e8ad /sys/kern/subr_hibernate.c | |
parent | fiddle with the NO_CONV code to allow notrunc and noerror to still work. (diff) | |
download | wireguard-openbsd-53e2494849a3f145f758594d90afb931d737a201.tar.xz wireguard-openbsd-53e2494849a3f145f758594d90afb931d737a201.zip |
Improve error handling on session_read
* Don't try to send a Shutdown message if the connection is already
closed or a read error occured;
* As per RFC 5036, send a Shutdown message if an unexpected message is
received during the initialization process;
* Check if the whole LSR ID of received messages is correct;
* On ldpe_dispatch_main(), ignore the messages from the lde process
whose associated neighbor is not in the operational state.
Diff from Renato Westphal
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions