| 4219 | } |
| 4220 | |
| 4221 | static void |
| 4222 | so_wrknl_unlock(void *arg) |
| 4223 | { |
| 4224 | struct socket *so = arg; |
| 4225 | |
| 4226 | if (SOLISTENING(so)) |
| 4227 | SOCK_UNLOCK(so); |
| 4228 | else |
| 4229 | SOCKBUF_UNLOCK(&so->so_snd); |
| 4230 | } |
| 4231 | |
| 4232 | static void |
| 4233 | so_wrknl_assert_lock(void *arg, int what) |