diff options
| author | Jeffrey Hsu <hsu@FreeBSD.org> | 2002-11-12 20:44:38 +0000 |
|---|---|---|
| committer | Jeffrey Hsu <hsu@FreeBSD.org> | 2002-11-12 20:44:38 +0000 |
| commit | e1e1b6e8924b4091a2e867135ecd6c50049be65b (patch) | |
| tree | ad7680bb1ec1076e4445d351cd2af59e82f681bd /sys | |
| parent | ff02a1197f4dcf440255a0be9e29db8f021088a4 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/netinet/in_pcb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 7cbcd3d7a4023..018d7b420b258 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -246,7 +246,7 @@ struct inpcbinfo { /* XXX documentation, prefixes */ }; #define INP_LOCK_INIT(inp, d) \ - mtx_init(&(inp)->inp_mtx, (d), NULL, MTX_DEF | MTX_RECURSE) + mtx_init(&(inp)->inp_mtx, (d), NULL, MTX_DEF | MTX_RECURSE | MTX_DUPOK) #define INP_LOCK_DESTROY(inp) mtx_destroy(&(inp)->inp_mtx) #define INP_LOCK(inp) mtx_lock(&(inp)->inp_mtx) #define INP_UNLOCK(inp) mtx_unlock(&(inp)->inp_mtx) |
