diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 1781dc650b9d..33aabd4fc20f 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -1673,7 +1673,7 @@ csum_err: | |||
1673 | } | 1673 | } |
1674 | EXPORT_SYMBOL(tcp_v4_do_rcv); | 1674 | EXPORT_SYMBOL(tcp_v4_do_rcv); |
1675 | 1675 | ||
1676 | int tcp_v4_early_demux(struct sk_buff *skb) | 1676 | int tcp_v4_early_demux(struct sk_buff *skb, bool *no_dst_cache) |
1677 | { | 1677 | { |
1678 | struct net *net = dev_net(skb->dev); | 1678 | struct net *net = dev_net(skb->dev); |
1679 | const struct iphdr *iph; | 1679 | const struct iphdr *iph; |
@@ -1719,6 +1719,8 @@ int tcp_v4_early_demux(struct sk_buff *skb) | |||
1719 | } | 1719 | } |
1720 | } | 1720 | } |
1721 | } | 1721 | } |
1722 | } else { | ||
1723 | *no_dst_cache = true; | ||
1722 | } | 1724 | } |
1723 | 1725 | ||
1724 | out_err: | 1726 | out_err: |