HomeFreeBSD

Reduce code duplication for inpcb route caching

Description

Reduce code duplication for inpcb route caching

Add a new macro to clear both the L3 and L2 route caches, to
hopefully prevent future instances where only the L3 cache was
cleared when both should have been.

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

Details

Committed
rstoneJan 23 2018, 3:15 AM
Reviewer
karels
Differential Revision
D13989: Reduce code duplication for inpcb route caching
Parents
rS328270: Invalidate inpcb LLE cache if cached route is invalidated
Branches
Unknown
Tags
Unknown