Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279046
b: refs/heads/master
c: 2c64580
h: refs/heads/master
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Dec 23, 2011
1 parent 0cbb52d commit 807bf91
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b57ef81ff8ffb830e1b3e404d692e55161992d27
refs/heads/master: 2c64580046a122fa15bb586d8ca4fd5e4b69a1e7
2 changes: 1 addition & 1 deletion trunk/net/netlink/af_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ static int netlink_broadcast_deliver(struct sock *sk, struct sk_buff *skb)
skb_set_owner_r(skb, sk);
skb_queue_tail(&sk->sk_receive_queue, skb);
sk->sk_data_ready(sk, skb->len);
return atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf;
return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1);
}
return -1;
}
Expand Down

0 comments on commit 807bf91

Please sign in to comment.