inet: Minimize use of cached route inetpeer.
Only use it in the absolutely required cases:
1) COW'ing metrics
2) ipv4 PMTU
3) ipv4 redirects
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- net/ipv4/icmp.c 2 additions, 1 deletionnet/ipv4/icmp.c
- net/ipv4/route.c 16 additions, 16 deletionsnet/ipv4/route.c
- net/ipv6/icmp.c 3 additions, 1 deletionnet/ipv6/icmp.c
- net/ipv6/ip6_output.c 8 additions, 2 deletionsnet/ipv6/ip6_output.c
- net/ipv6/ndisc.c 6 additions, 2 deletionsnet/ipv6/ndisc.c
Loading
Please register or sign in to comment