|
|
| version 1.8, 2004/03/11 17:22:52 | version 1.9, 2004/04/22 04:22:02 |
|---|---|
| Line 1951 ip_fw_ctl(struct sockopt *sopt) | Line 1951 ip_fw_ctl(struct sockopt *sopt) |
| * bother filling up the buffer, just jump to the | * bother filling up the buffer, just jump to the |
| * sooptcopyout. | * sooptcopyout. |
| */ | */ |
| buf = malloc(size, M_TEMP, M_NOWAIT); | buf = malloc(size, M_TEMP, M_WAITOK); |
| if (buf == 0) { | |
| splx(s); | |
| error = ENOBUFS; | |
| break; | |
| } | |
| bp = buf ; | bp = buf ; |
| LIST_FOREACH(fcp, &ip_fw_chain_head, next) { | LIST_FOREACH(fcp, &ip_fw_chain_head, next) { |