aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv6/sit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 97a0bfe2c293..85ff37b1ce02 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -593,7 +593,7 @@ static int ipip6_rcv(struct sk_buff *skb)
593 tunnel->dev->stats.rx_errors++; 593 tunnel->dev->stats.rx_errors++;
594 goto out; 594 goto out;
595 } 595 }
596 } else { 596 } else if (!(tunnel->dev->flags&IFF_POINTOPOINT)) {
597 if (is_spoofed_6rd(tunnel, iph->saddr, 597 if (is_spoofed_6rd(tunnel, iph->saddr,
598 &ipv6_hdr(skb)->saddr) || 598 &ipv6_hdr(skb)->saddr) ||
599 is_spoofed_6rd(tunnel, iph->daddr, 599 is_spoofed_6rd(tunnel, iph->daddr,