diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-11 01:39:08 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-11 01:39:08 +0200 |
commit | 280e26f17906c2c2fb39c33bee797e90f5cf0c40 (patch) | |
tree | e2d04ae635a852deb007cdce5d8f41440a747f5b /pflocal/sock.h | |
parent | 5e8e02f53c47bcf108c64263249795f702b8b19a (diff) |
Fix sock_bind(sock,NULL) support
* pflocal/sock.c (sock_bind): When addr is NULL, do not take/release its
mutex. When old_addr is also NULL, return EINVAL. When old_addr is not NULL,
deref old_addr instead of addr.
Diffstat (limited to 'pflocal/sock.h')
0 files changed, 0 insertions, 0 deletions