|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.131, 2001/03/27 02:24:38 | version 1.132, 2001/04/13 23:30:22 | ||
|---|---|---|---|
|
|
||
| { | { | ||
| int s; | int s; | ||
| s = splimp(); | /* | ||
| * Use splvm() -- we're bloking things that would cause | |||
| * mbuf allocation. | |||
| */ | |||
| s = splvm(); | |||
| if (ipq_locked) { | if (ipq_locked) { | ||
| splx(s); | splx(s); | ||
| return (0); | return (0); | ||
|
|
||
| { | { | ||
| int s; | int s; | ||
| s = splimp(); | s = splvm(); | ||
| ipq_locked = 0; | ipq_locked = 0; | ||
| splx(s); | splx(s); | ||
| } | } | ||
|
|
||
| struct mbuf *m; | struct mbuf *m; | ||
| while (1) { | while (1) { | ||
| s = splimp(); | s = splnet(); | ||
| IF_DEQUEUE(&ipintrq, m); | IF_DEQUEUE(&ipintrq, m); | ||
| splx(s); | splx(s); | ||
| if (m == 0) | if (m == 0) |