diff options
author | 2016-05-02 22:15:49 +0000 | |
---|---|---|
committer | 2016-05-02 22:15:49 +0000 | |
commit | 30b29ff5a79bfc997320671434a72686b189a101 (patch) | |
tree | cee638dc22c5377120c9e8bb7bcc7785240f1649 /lib | |
parent | Remove pointless comment. getcwd(3) is safe. (diff) | |
download | wireguard-openbsd-30b29ff5a79bfc997320671434a72686b189a101.tar.xz wireguard-openbsd-30b29ff5a79bfc997320671434a72686b189a101.zip |
Simplify life for routing table implementations by requiring that rtable_walk
callbacks return EAGAIN if they modify the routing table. While we're here,
simplify life for rtable_walk callers by moving the loop that restarts the
walk on EAGAIN into rtable_walk itself.
Flushing cloned routes on interface state changes becomes a bit more
inefficient, but this can be improved later.
ok mpi@ dlg@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions