| version 1.28, 1997/06/24 20:04:45 |
version 1.29, 1997/08/27 07:10:01 |
| Line 350 sosend(so, addr, uio, top, control, flag |
|
| Line 350 sosend(so, addr, uio, top, control, flag |
|
| * of space and resid. On the other hand, a negative resid |
* of space and resid. On the other hand, a negative resid |
| * causes us to loop sending 0-length segments to the protocol. |
* causes us to loop sending 0-length segments to the protocol. |
| */ |
*/ |
| if (resid < 0) |
if (resid < 0) { |
| return (EINVAL); |
error = EINVAL; |
| |
goto out; |
| |
} |
| dontroute = |
dontroute = |
| (flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0 && |
(flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0 && |
| (so->so_proto->pr_flags & PR_ATOMIC); |
(so->so_proto->pr_flags & PR_ATOMIC); |