Loading net/ipv6/sit.c +1 −6 Original line number Diff line number Diff line Loading @@ -592,15 +592,10 @@ static int ipip6_err(struct sk_buff *skb, u32 info) static int ipip6_rcv(struct sk_buff *skb) { const struct iphdr *iph; const struct iphdr *iph = ip_hdr(skb); struct ip_tunnel *tunnel; int err; if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) goto out; iph = ip_hdr(skb); tunnel = ipip6_tunnel_lookup(dev_net(skb->dev), skb->dev, iph->saddr, iph->daddr); if (tunnel != NULL) { Loading Loading
net/ipv6/sit.c +1 −6 Original line number Diff line number Diff line Loading @@ -592,15 +592,10 @@ static int ipip6_err(struct sk_buff *skb, u32 info) static int ipip6_rcv(struct sk_buff *skb) { const struct iphdr *iph; const struct iphdr *iph = ip_hdr(skb); struct ip_tunnel *tunnel; int err; if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) goto out; iph = ip_hdr(skb); tunnel = ipip6_tunnel_lookup(dev_net(skb->dev), skb->dev, iph->saddr, iph->daddr); if (tunnel != NULL) { Loading