diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2016-05-02 22:15:50 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2016-05-02 22:15:50 +0000 |
commit | 321a2ad3e7c32cbba74141d3996a71d00a191b36 (patch) | |
tree | 2b45265ec4593b84be8f0404dbc6aca28b30d7da /sys/net/if_vlan.c | |
parent | 8f0b9406f0380cff6b0b14588a4a51eaaf887dea (diff) |
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 'sys/net/if_vlan.c')
0 files changed, 0 insertions, 0 deletions