summaryrefslogtreecommitdiffstats
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-10-16 19:09:40 +0000
committerwollman <wollman@FreeBSD.org>1995-10-16 19:09:40 +0000
commite34bd6ff015f6bd2cfcce2d517f878cdb61a6ff0 (patch)
treebf99b793dfb9af98d113f016744adf44e6ed5bb6 /sys/net/route.h
parent770f16a538c07c7169c28674120d08bf6084a54d (diff)
downloadFreeBSD-src-e34bd6ff015f6bd2cfcce2d517f878cdb61a6ff0.zip
FreeBSD-src-e34bd6ff015f6bd2cfcce2d517f878cdb61a6ff0.tar.gz
When adding a route fails because there is already a route with the same
(mask,value) in the tree, don't immediately return EEXIST. Instead, check to see if the pre-existing route was generated by protcol-cloning. If so, then it is OK to simply blow away the old route and re-attempt the insertion. If not, then fall back to the same error code as before.
Diffstat (limited to 'sys/net/route.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud