Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360815
b: refs/heads/master
c: d8c6f4b
h: refs/heads/master
i:
  360813: 95e83e5
  360811: ae54d2e
  360807: eccfab6
  360799: 4fa25a5
v: v3
  • Loading branch information
Neil Horman authored and David S. Miller committed Mar 1, 2013
1 parent de991ca commit 52377a2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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: 9e0aab86496295efdf6c2f57eaac3497e1c721a2
refs/heads/master: d8c6f4b9b7848bca8babfc0ae43a50c8ab22fbb9
6 changes: 4 additions & 2 deletions trunk/net/ipv4/ip_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,11 @@ static int ip_local_deliver_finish(struct sk_buff *skb)
icmp_send(skb, ICMP_DEST_UNREACH,
ICMP_PROT_UNREACH, 0);
}
} else
kfree_skb(skb);
} else {
IP_INC_STATS_BH(net, IPSTATS_MIB_INDELIVERS);
kfree_skb(skb);
consume_skb(skb);
}
}
}
out:
Expand Down
6 changes: 4 additions & 2 deletions trunk/net/ipv6/ip6_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,11 @@ static int ip6_input_finish(struct sk_buff *skb)
icmpv6_send(skb, ICMPV6_PARAMPROB,
ICMPV6_UNK_NEXTHDR, nhoff);
}
} else
kfree_skb(skb);
} else {
IP6_INC_STATS_BH(net, idev, IPSTATS_MIB_INDELIVERS);
kfree_skb(skb);
consume_skb(skb);
}
}
rcu_read_unlock();
return 0;
Expand Down

0 comments on commit 52377a2

Please sign in to comment.