Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5881
b: refs/heads/master
c: cb94c62
h: refs/heads/master
i:
  5879: 70a1118
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Aug 18, 2005
1 parent 90b4aab commit 3e9956b
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 22783649568a28839c5a362f47da7819ecfcbb9f
refs/heads/master: cb94c62c252796f42bb83fe40960d12f3ea5a82a
12 changes: 6 additions & 6 deletions trunk/net/ipv4/icmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,12 @@ static void icmp_push_reply(struct icmp_bxm *icmp_param,
{
struct sk_buff *skb;

ip_append_data(icmp_socket->sk, icmp_glue_bits, icmp_param,
icmp_param->data_len+icmp_param->head_len,
icmp_param->head_len,
ipc, rt, MSG_DONTWAIT);

if ((skb = skb_peek(&icmp_socket->sk->sk_write_queue)) != NULL) {
if (ip_append_data(icmp_socket->sk, icmp_glue_bits, icmp_param,
icmp_param->data_len+icmp_param->head_len,
icmp_param->head_len,
ipc, rt, MSG_DONTWAIT) < 0)
ip_flush_pending_frames(icmp_socket->sk);
else if ((skb = skb_peek(&icmp_socket->sk->sk_write_queue)) != NULL) {
struct icmphdr *icmph = skb->h.icmph;
unsigned int csum = 0;
struct sk_buff *skb1;
Expand Down

0 comments on commit 3e9956b

Please sign in to comment.