Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351470
b: refs/heads/master
c: 1ad759d
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Frederic Sowa authored and David S. Miller committed Jan 18, 2013
1 parent 77c73a6 commit 2ba004f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 115b0aa6b444e8dd89b7f67b77b8c472763fbc1a
refs/heads/master: 1ad759d8479b4b28f2a6c874d380066cf987b341
7 changes: 1 addition & 6 deletions trunk/net/ipv6/sit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2ba004f

Please sign in to comment.