Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130873
b: refs/heads/master
c: e408b8d
h: refs/heads/master
i:
  130871: c167359
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Feb 2, 2009
1 parent 0e48a56 commit 8c498e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 0afd4a21ba7d75e93fa79cf05d7a21774e149c0f
refs/heads/master: e408b8dcb5ce42243a902205005208e590f28454
4 changes: 3 additions & 1 deletion trunk/net/ipv4/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1015,9 +1015,11 @@ static int __udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)

if ((rc = sock_queue_rcv_skb(sk, skb)) < 0) {
/* Note that an ENOMEM error is charged twice */
if (rc == -ENOMEM)
if (rc == -ENOMEM) {
UDP_INC_STATS_BH(sock_net(sk), UDP_MIB_RCVBUFERRORS,
is_udplite);
atomic_inc(&sk->sk_drops);
}
goto drop;
}

Expand Down

0 comments on commit 8c498e7

Please sign in to comment.