Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275745
b: refs/heads/master
c: fb120c0
h: refs/heads/master
i:
  275743: b51c380
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 18, 2011
1 parent 3863b70 commit 4e2a910
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 282edcece39e08d02c22492d593e4b9b94a65dff
refs/heads/master: fb120c0a2775b0d2d095a99ea8432bfb5d444ab2
2 changes: 0 additions & 2 deletions trunk/net/ipv4/ping.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ void ping_err(struct sk_buff *skb, u32 info)
sk = ping_v4_lookup(net, iph->daddr, iph->saddr,
ntohs(icmph->un.echo.id), skb->dev->ifindex);
if (sk == NULL) {
ICMP_INC_STATS_BH(net, ICMP_MIB_INERRORS);
pr_debug("no socket, dropping\n");
return; /* No socket for error */
}
Expand Down Expand Up @@ -679,7 +678,6 @@ static int ping_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
pr_debug("ping_queue_rcv_skb(sk=%p,sk->num=%d,skb=%p)\n",
inet_sk(sk), inet_sk(sk)->inet_num, skb);
if (sock_queue_rcv_skb(sk, skb) < 0) {
ICMP_INC_STATS_BH(sock_net(sk), ICMP_MIB_INERRORS);
kfree_skb(skb);
pr_debug("ping_queue_rcv_skb -> failed\n");
return -1;
Expand Down

0 comments on commit 4e2a910

Please sign in to comment.