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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 13 Mar 2013 06:00:52 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	horseriver <horserivers@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: when and where does ep_poll_callback be called ?

On Mon, 2013-01-14 at 09:11 +0800, horseriver wrote:
> hi:
> 
> 
>    I'm studying the epoll module , I can not find ep_poll_callback be called somewhere .
>    
>   

Thats more a lkml question.

But you can figure it yourself :

diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 9fec183..c6e7490 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -928,6 +928,7 @@ static int ep_poll_callback(wait_queue_t *wait, unsigned mode, int sync, void *k
 	struct epitem *epi = ep_item_from_wait(wait);
 	struct eventpoll *ep = epi->ep;
 
+	WARN_ON_ONCE(1);
 	if ((unsigned long)key & POLLFREE) {
 		ep_pwq_from_wait(wait)->whead = NULL;
 		/*


--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ