> I found the following code in dup2():
>
> oldfdi = idm_lookup(&idm, oldfd);
> if (oldfdi && oldfdi->type == fd_fork)
> fork_passive(oldfd);
>
> In that code the file descriptor type ("type") is compared with a fork
> state enum value ("fd_fork"). Is that on purpose ??
On purpose? I'll have to go with no.
It's a bug resulting from working on different patches at the same time and not
updating the dup2 patch to account for the change where I added a state to the
fd. Thanks for catching this. I'll fix it up later this week or early next
week and push out an update.
- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html