if (!rekeying)
if (!rekeying) {
server_loop2(Authctxt *authctxt){	fd_set *readset = NULL, *writeset = NULL;	int rekeying = 0, max_fd, nalloc = 0;	debug("Entering interactive session for SSH2.");	signal(SIGCHLD, sigchld_handler);	child_terminated = 0;	connection_in = packet_get_connection_in();	connection_out = packet_get_connection_out();	notify_setup();	max_fd = MAX(connection_in, connection_out);	max_fd = MAX(max_fd, notify_pipe[0]);	xxx_authctxt = authctxt;	server_init_dispatch();	for (;;) {		process_buffered_input_packets();		rekeying = (xxx_kex != NULL && !xxx_kex->done);		if (!rekeying && packet_not_very_much_data_to_write())			channel_output_poll();		wait_until_can_do_something(&readset, &writeset, &max_fd,		    &nalloc, 0);		collect_children();		if (!rekeying)			channel_after_select(readset, writeset);		process_input(readset);		if (connection_closed)			break;		process_output(writeset);	}	collect_children();	if (readset)		xfree(readset);	if (writeset)		xfree(writeset);	/* free all channels, no more reads and writes */	channel_free_all();	/* free remaining sessions, e.g. remove wtmp entries */	session_destroy_all(NULL);}