stream.c (73cf7e111ed69d8e1b59a3ae41b14bc77215e9ee) | stream.c (0c3f6f655487d12c7a0c16914c98c599043e88d3) |
---|---|
1/* SCTP kernel implementation 2 * (C) Copyright IBM Corp. 2001, 2004 3 * Copyright (c) 1999-2000 Cisco, Inc. 4 * Copyright (c) 1999-2001 Motorola, Inc. 5 * Copyright (c) 2001 Intel Corp. 6 * 7 * This file is part of the SCTP kernel implementation 8 * --- 153 unchanged lines hidden (view full) --- 162 163 stream->outcnt = outcnt; 164 for (i = 0; i < stream->outcnt; i++) 165 stream->out[i].state = SCTP_STREAM_OPEN; 166 167 sched->init(stream); 168 169in: | 1/* SCTP kernel implementation 2 * (C) Copyright IBM Corp. 2001, 2004 3 * Copyright (c) 1999-2000 Cisco, Inc. 4 * Copyright (c) 1999-2001 Motorola, Inc. 5 * Copyright (c) 2001 Intel Corp. 6 * 7 * This file is part of the SCTP kernel implementation 8 * --- 153 unchanged lines hidden (view full) --- 162 163 stream->outcnt = outcnt; 164 for (i = 0; i < stream->outcnt; i++) 165 stream->out[i].state = SCTP_STREAM_OPEN; 166 167 sched->init(stream); 168 169in: |
170 sctp_stream_interleave_init(stream); |
|
170 if (!incnt) 171 goto out; 172 173 i = sctp_stream_alloc_in(stream, incnt, gfp); 174 if (i) { 175 ret = -ENOMEM; 176 goto free; 177 } --- 925 unchanged lines hidden --- | 171 if (!incnt) 172 goto out; 173 174 i = sctp_stream_alloc_in(stream, incnt, gfp); 175 if (i) { 176 ret = -ENOMEM; 177 goto free; 178 } --- 925 unchanged lines hidden --- |