Fixed bug in canceling TCP ioctls before INET got an IP address.
This commit is contained in:
parent
ba667a0774
commit
1d78f4a203
1 changed files with 8 additions and 0 deletions
|
@ -1308,6 +1308,7 @@ int reply;
|
|||
int for_ioctl;
|
||||
{
|
||||
acc_t *result;
|
||||
|
||||
result= (*tcp_fd->tf_get_userdata)(tcp_fd->tf_srfd, reply,
|
||||
(size_t)0, for_ioctl);
|
||||
assert (!result);
|
||||
|
@ -2027,6 +2028,13 @@ int which_operation;
|
|||
assert (tcp_fd->tf_flags & TFF_IOCTL_IP);
|
||||
tcp_fd->tf_flags &= ~TFF_IOCTL_IP;
|
||||
|
||||
if (tcp_fd->tf_flags & TFF_IOC_INIT_SP)
|
||||
{
|
||||
tcp_fd->tf_flags &= ~TFF_IOC_INIT_SP;
|
||||
reply_thr_put (tcp_fd, EINTR, TRUE);
|
||||
break;
|
||||
}
|
||||
|
||||
switch (tcp_fd->tf_ioreq)
|
||||
{
|
||||
case NWIOGTCPCONF:
|
||||
|
|
Loading…
Reference in a new issue