HomeFreeBSD

Increment the route table gen count after a modify

Description

Increment the route table gen count after a modify

Increment the route table generation count after modifying a
route. This signals back to TCP connections that they need to
update their L2 caches as the gateway for their route may have
changed. This is a heavier hammer than is needed, strictly
speaking, but route changes will be unlikely enough that the
performance effects of invalidating all connection route caches
should be negligible.

MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D13990
Reviewed by: karels

Details

Committed
rstoneJan 23 2018, 3:15 AM
Reviewer
karels
Differential Revision
D13990: Increment the route table gen count after a modify
Parents
rS328271: Reduce code duplication for inpcb route caching
Branches
Unknown
Tags
Unknown