Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73269
b: refs/heads/master
c: df61c95
h: refs/heads/master
i:
  73267: 24afaa3
v: v3
  • Loading branch information
David S. Miller committed Nov 7, 2007
1 parent 266b9b0 commit 307d5b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: c3e9a353d8fc64a82ab11a07e21902e25e1e96d1
refs/heads/master: df61c952622f51facac21dd8dfa4d8a24dcb9657
6 changes: 1 addition & 5 deletions trunk/fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ static int sctp_listen_for_all(void)
subscribe.sctp_shutdown_event = 1;
subscribe.sctp_partial_delivery_event = 1;

result = kernel_setsockopt(sock, SOL_SOCKET, SO_RCVBUF,
result = kernel_setsockopt(sock, SOL_SOCKET, SO_RCVBUFFORCE,
(char *)&bufsize, sizeof(bufsize));
if (result)
log_print("Error increasing buffer space on socket %d", result);
Expand Down Expand Up @@ -1454,10 +1454,6 @@ int dlm_lowcomms_start(void)
if (!con_cache)
goto out;

/* Set some sysctl minima */
if (sysctl_rmem_max < NEEDED_RMEM)
sysctl_rmem_max = NEEDED_RMEM;

/* Start listening */
if (dlm_config.ci_protocol == 0)
error = tcp_listen_for_all();
Expand Down

0 comments on commit 307d5b4

Please sign in to comment.