Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33747
b: refs/heads/master
c: 5991c84
h: refs/heads/master
i:
  33745: ebed70b
  33743: 8d69430
v: v3
  • Loading branch information
Akinobu Mita authored and David S. Miller committed Aug 31, 2006
1 parent 1de7bba commit bfddd54
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 99c7bc0133b875280fdd2bf78e4ffbd58cc609e3
refs/heads/master: 5991c84421f3ea1e281954610a39e4993e5c39e4
3 changes: 2 additions & 1 deletion trunk/net/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,8 @@ static int __sock_create(int family, int type, int protocol, struct socket **res
*/

if (!(sock = sock_alloc())) {
printk(KERN_WARNING "socket: no more sockets\n");
if (net_ratelimit())
printk(KERN_WARNING "socket: no more sockets\n");
err = -ENFILE; /* Not exactly a match, but its the
closest posix thing */
goto out;
Expand Down

0 comments on commit bfddd54

Please sign in to comment.