Deleted Added
full compact
36c36
< * $FreeBSD: head/sys/netipx/spx_usrreq.c 95759 2002-04-30 01:54:54Z tanimura $
---
> * $FreeBSD: head/sys/netipx/spx_usrreq.c 96972 2002-05-20 05:41:09Z tanimura $
165a166
> SOCK_LOCK(so);
172a174
> SOCK_UNLOCK(so);
196c198,199
< }
---
> } else
> SOCK_UNLOCK(so);
260a264
> SOCK_LOCK(so);
261a266
> SOCK_UNLOCK(so);
287a293
> SOCK_LOCK(so);
288a295
> SOCK_UNLOCK(so);
300c307,309
< if (so->so_options & SO_DEBUG || traceallspxs)
---
> SOCK_LOCK(so);
> if (so->so_options & SO_DEBUG || traceallspxs) {
> SOCK_UNLOCK(so);
301a311,312
> } else
> SOCK_UNLOCK(so);
322c333,335
< if (cb->s_ipxpcb->ipxp_socket->so_options & SO_DEBUG || traceallspxs)
---
> SOCK_LOCK(cb->s_ipxpcb->ipxp_socket);
> if (cb->s_ipxpcb->ipxp_socket->so_options & SO_DEBUG || traceallspxs) {
> SOCK_UNLOCK(cb->s_ipxpcb->ipxp_socket);
323a337,338
> } else
> SOCK_UNLOCK(cb->s_ipxpcb->ipxp_socket);
327a343
> SOCK_LOCK(cb->s_ipxpcb->ipxp_socket);
329c345,346
< traceallspxs)
---
> traceallspxs) {
> SOCK_UNLOCK(cb->s_ipxpcb->ipxp_socket);
330a348,349
> } else
> SOCK_UNLOCK(cb->s_ipxpcb->ipxp_socket);
464a484
> SOCK_LOCK(so);
465a486
> SOCK_UNLOCK(so);
503a525
> SOCK_LOCK(so);
504a527
> SOCK_UNLOCK(so);
506,507c529,531
< } else
< would crash system*/
---
> } else {
> SOCK_UNLOCK(so);
> would crash system } */
568c592,593
< else
---
> else {
> SOCK_LOCK(so);
569a595,596
> SOCK_UNLOCK(so);
> }
598a626
> SOCK_LOCK(so);
599a628
> SOCK_UNLOCK(so);
625c654,655
< if (wakeup)
---
> if (wakeup) {
> SOCK_LOCK(so);
626a657,658
> SOCK_UNLOCK(so);
> }
1030c1062,1064
< if (so->so_options & SO_DEBUG || traceallspxs)
---
> SOCK_LOCK(so);
> if (so->so_options & SO_DEBUG || traceallspxs) {
> SOCK_UNLOCK(so);
1031a1066,1067
> } else
> SOCK_UNLOCK(so);
1093c1129,1131
< if (so->so_options & SO_DEBUG || traceallspxs)
---
> SOCK_LOCK(so);
> if (so->so_options & SO_DEBUG || traceallspxs) {
> SOCK_UNLOCK(so);
1094a1133,1134
> SOCK_LOCK(so);
> }
1096c1136,1137
< if (so->so_options & SO_DONTROUTE)
---
> if (so->so_options & SO_DONTROUTE) {
> SOCK_UNLOCK(so);
1098c1139,1140
< else
---
> } else {
> SOCK_UNLOCK(so);
1099a1142
> }
1415a1459
> SOCK_LOCK(so);
1416a1461
> SOCK_UNLOCK(so);
1537a1583
> SOCK_LOCK(so);
1539a1586
> SOCK_UNLOCK(so);
1543a1591
> SOCK_UNLOCK(so);
1686a1735
> SOCK_LOCK(so);
1687a1737
> SOCK_UNLOCK(so);
1889a1940
> SOCK_LOCK(cb->s_ipxpcb->ipxp_socket);
1890a1942
> SOCK_UNLOCK(cb->s_ipxpcb->ipxp_socket);
1895c1947,1948
< } else
---
> } else {
> SOCK_UNLOCK(cb->s_ipxpcb->ipxp_socket);
1896a1950
> }