lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Jan 2012 18:50:16 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Flavio Leitner <fbl@...hat.com>
Cc:	netdev <netdev@...r.kernel.org>,
	Marcelo Leitner <mleitner@...hat.com>
Subject: Re: bind()/inet_csk_get_port() fails when no port is requested

Le mercredi 18 janvier 2012 à 18:36 +0100, Eric Dumazet a écrit :

> Only drawback is when table is really full, we'll scan it twice.
> 

We should at least add a local_bh_enable() and cond_resched() and jump
to beginning of inet_csk_get_port() to allow pending softirqs/rescheds
to be handled at half way.

	if (!check_conflict) {
		check_conflict = true;
		local_bh_enable();
		cond_resched();
		goto start;
	}



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists