output.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) | output.c (2c53040f018b6c36a46eec75b9b937aaa5f78e6d) |
---|---|
1/* 2 * net/dccp/output.c 3 * 4 * An implementation of the DCCP protocol 5 * Arnaldo Carvalho de Melo <acme@conectiva.com.br> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 200 unchanged lines hidden (view full) --- 209 210 rcu_read_unlock(); 211} 212 213/** 214 * dccp_wait_for_ccid - Await CCID send permission 215 * @sk: socket to wait for 216 * @delay: timeout in jiffies | 1/* 2 * net/dccp/output.c 3 * 4 * An implementation of the DCCP protocol 5 * Arnaldo Carvalho de Melo <acme@conectiva.com.br> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 200 unchanged lines hidden (view full) --- 209 210 rcu_read_unlock(); 211} 212 213/** 214 * dccp_wait_for_ccid - Await CCID send permission 215 * @sk: socket to wait for 216 * @delay: timeout in jiffies |
217 * |
|
217 * This is used by CCIDs which need to delay the send time in process context. 218 */ 219static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) 220{ 221 DEFINE_WAIT(wait); 222 long remaining; 223 224 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); --- 473 unchanged lines hidden --- | 218 * This is used by CCIDs which need to delay the send time in process context. 219 */ 220static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) 221{ 222 DEFINE_WAIT(wait); 223 long remaining; 224 225 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); --- 473 unchanged lines hidden --- |