summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2016-05-02 22:15:49 +0000
committerjmatthew <jmatthew@openbsd.org>2016-05-02 22:15:49 +0000
commit30b29ff5a79bfc997320671434a72686b189a101 (patch)
treecee638dc22c5377120c9e8bb7bcc7785240f1649 /lib
parentRemove pointless comment. getcwd(3) is safe. (diff)
downloadwireguard-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