Revert "ipv4: tcp: dont cache unconfirmed intput dst"
This reverts commit c074da28. This change has several unwanted side effects: 1) Sockets will cache the DST_NOCACHE route in sk->sk_rx_dst and we'll thus never create a real cached route. 2) All TCP traffic will use DST_NOCACHE and never use the routing cache at all. Signed-off-by:David S. Miller <davem@davemloft.net>
Showing
- include/net/protocol.h 1 addition, 1 deletioninclude/net/protocol.h
- include/net/route.h 4 additions, 4 deletionsinclude/net/route.h
- include/net/tcp.h 1 addition, 1 deletioninclude/net/tcp.h
- net/ipv4/arp.c 1 addition, 1 deletionnet/ipv4/arp.c
- net/ipv4/ip_fragment.c 1 addition, 1 deletionnet/ipv4/ip_fragment.c
- net/ipv4/ip_input.c 2 additions, 3 deletionsnet/ipv4/ip_input.c
- net/ipv4/route.c 3 additions, 5 deletionsnet/ipv4/route.c
- net/ipv4/tcp_ipv4.c 1 addition, 3 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/xfrm4_input.c 1 addition, 1 deletionnet/ipv4/xfrm4_input.c
Loading
Please register or sign in to comment