Hi for everybody, I have a question about the driver inet_drv.c
I just can’t find the part of code that decrease the desc->active_count
after receiving Data on a Socket that have been set with {active,N}
?
In fact when Data arrives to the Socket, the Kernel will trigger this function that results in this match, after that, tcp_recv function will results in tcp_deliver function and this last will result in tcp_reply_data function that will check via the function inet_check_active_to_passive if we must switch from active to passive and this is the code of this function, but the desc->active_count
should have already set before running this function so I can’t find where it have been decreased, any help I will be thankful.