git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
281c58e
)
messaging3: Fix sending large messages on FreeBSD
author
Volker Lendecke
<vl@samba.org>
Mon, 24 Nov 2014 15:31:07 +0000
(16:31 +0100)
committer
Jeremy Allison
<jra@samba.org>
Mon, 24 Nov 2014 17:52:05 +0000
(18:52 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/unix_msg/unix_msg.c
patch
|
blob
|
history
diff --git
a/source3/lib/unix_msg/unix_msg.c
b/source3/lib/unix_msg/unix_msg.c
index 9641bff55664a51174da8825bb4b830c188aecc1..7ca506a85c613a5f80495d0e3363b2e9210886fe 100644
(file)
--- a/
source3/lib/unix_msg/unix_msg.c
+++ b/
source3/lib/unix_msg/unix_msg.c
@@
-743,6
+743,10
@@
static int unix_dgram_send(struct unix_dgram_ctx *ctx,
}
if ((errno != EWOULDBLOCK) &&
(errno != EAGAIN) &&
+#ifdef ENOBUFS
+ /* FreeBSD can give this for large messages */
+ (errno != ENOBUFS) &&
+#endif
(errno != EINTR)) {
return errno;
}