diff options
author | Volker Lendecke <vl@samba.org> | 2014-11-24 16:31:07 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-11-24 18:52:05 +0100 |
commit | bcb0d46bb27ba78cd045926a81894d1f09d2c02b (patch) | |
tree | 58983ab6aa1e61700af712fd541fdff6dea80c60 | |
parent | 281c58e04654e152caead47602603cfbf7fd4e0f (diff) | |
download | samba-bcb0d46bb27ba78cd045926a81894d1f09d2c02b.tar.gz samba-bcb0d46bb27ba78cd045926a81894d1f09d2c02b.tar.xz samba-bcb0d46bb27ba78cd045926a81894d1f09d2c02b.zip |
messaging3: Fix sending large messages on FreeBSD
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | source3/lib/unix_msg/unix_msg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/unix_msg/unix_msg.c b/source3/lib/unix_msg/unix_msg.c index 9641bff556..7ca506a85c 100644 --- 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; } |