]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sctp/socket.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[karo-tx-linux.git] / net / sctp / socket.c
index f6d1e59c4151845b9dcfd0dc53428c88fdf079af..dfc5c127efd47d5cfca1a5541d3e91dff898c1b3 100644 (file)
@@ -3720,6 +3720,9 @@ SCTP_STATIC int sctp_init_sock(struct sock *sk)
        SCTP_DBG_OBJCNT_INC(sock);
        percpu_counter_inc(&sctp_sockets_allocated);
 
+       /* Set socket backlog limit. */
+       sk->sk_backlog.limit = sysctl_sctp_rmem[1];
+
        local_bh_disable();
        sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1);
        local_bh_enable();