ipflow: Flush ipflow if a new route is successfully added.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 28 Mar 2009 03:02:45 +0000 (11:02 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 28 Mar 2009 04:28:47 +0000 (12:28 +0800)
commitc59311aa99036ce371e34955f8254c300369a3ec
tree3dee1434324801501153c6b7f111831ffb9a20c1
parentedbdff6b9fb50edd0b1439a35eb8f3852ddb9776
ipflow: Flush ipflow if a new route is successfully added.

ipflow suffers same problem as described in FreeBSD-PR: kern/10778
Though the time of mis-routing will not be "arbitrarily long time"
for intermittent packet flow (thanks to the ipflow timeout), it
still could be quite long for a constant packet flow.
sys/netinet/in_rmx.c
sys/netinet/ip_flow.c
sys/netinet/ip_flow.h