Commit 2075e50
sctp: convert to genradix
This also makes sctp_stream_alloc_(out|in) saner, in that they no longer
allocate new flex_arrays/genradixes, they just preallocate more
elements.
This code does however have a suspicious lack of locking.
Link: http://lkml.kernel.org/r/20181217131929.11727-7-kent.overstreet@gmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Eric Paris <eparis@parisplace.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Pravin B Shelar <pshelar@ovn.org>
Cc: Shaohua Li <shli@kernel.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 94f8f3b commit 2075e50
File tree
3 files changed
+28
-114
lines changed- include/net/sctp
- net/sctp
3 files changed
+28
-114
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
1449 | 1449 | | |
1450 | 1450 | | |
1451 | 1451 | | |
1452 | | - | |
1453 | | - | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
1454 | 1455 | | |
1455 | 1456 | | |
1456 | 1457 | | |
| |||
1473 | 1474 | | |
1474 | 1475 | | |
1475 | 1476 | | |
1476 | | - | |
| 1477 | + | |
1477 | 1478 | | |
1478 | 1479 | | |
1479 | | - | |
| 1480 | + | |
1480 | 1481 | | |
1481 | 1482 | | |
1482 | 1483 | | |
1483 | | - | |
| 1484 | + | |
1484 | 1485 | | |
1485 | 1486 | | |
1486 | | - | |
| 1487 | + | |
1487 | 1488 | | |
1488 | 1489 | | |
1489 | 1490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 40 | | |
101 | 41 | | |
102 | 42 | | |
| |||
153 | 93 | | |
154 | 94 | | |
155 | 95 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 96 | + | |
174 | 97 | | |
175 | | - | |
176 | | - | |
| 98 | + | |
| 99 | + | |
177 | 100 | | |
178 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
179 | 104 | | |
| 105 | + | |
180 | 106 | | |
181 | 107 | | |
182 | 108 | | |
183 | 109 | | |
184 | 110 | | |
185 | 111 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
| 112 | + | |
197 | 113 | | |
198 | | - | |
199 | | - | |
| 114 | + | |
| 115 | + | |
200 | 116 | | |
201 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
202 | 120 | | |
| 121 | + | |
203 | 122 | | |
204 | 123 | | |
205 | 124 | | |
| |||
226 | 145 | | |
227 | 146 | | |
228 | 147 | | |
229 | | - | |
230 | 148 | | |
231 | 149 | | |
232 | 150 | | |
| |||
238 | 156 | | |
239 | 157 | | |
240 | 158 | | |
241 | | - | |
242 | | - | |
| 159 | + | |
243 | 160 | | |
244 | 161 | | |
245 | 162 | | |
246 | 163 | | |
247 | | - | |
248 | | - | |
249 | 164 | | |
250 | 165 | | |
251 | 166 | | |
| |||
270 | 185 | | |
271 | 186 | | |
272 | 187 | | |
273 | | - | |
274 | | - | |
| 188 | + | |
| 189 | + | |
275 | 190 | | |
276 | 191 | | |
277 | 192 | | |
| |||
302 | 217 | | |
303 | 218 | | |
304 | 219 | | |
305 | | - | |
306 | | - | |
| 220 | + | |
| 221 | + | |
307 | 222 | | |
308 | 223 | | |
309 | 224 | | |
| |||
555 | 470 | | |
556 | 471 | | |
557 | 472 | | |
558 | | - | |
559 | | - | |
560 | 473 | | |
561 | 474 | | |
562 | 475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments