Re: strange crashes in tcp_poll() via epoll_wait

2013-07-19 Thread Eric Wong
Eric Dumazet wrote: > On Fri, 2013-07-19 at 23:50 +, Eric Wong wrote: > > Eric Dumazet wrote: > > > Hi Al > > > > > > I tried to debug strange crashes in tcp_poll() called from > > > sys_epoll_wait() -> sock_poll() > > > > > > The symptom is that sock->sk is NULL and we therefore

Re: strange crashes in tcp_poll() via epoll_wait

2013-07-19 Thread Eric Dumazet
On Fri, 2013-07-19 at 23:50 +, Eric Wong wrote: > Eric Dumazet wrote: > > Hi Al > > > > I tried to debug strange crashes in tcp_poll() called from > > sys_epoll_wait() -> sock_poll() > > > > The symptom is that sock->sk is NULL and we therefore dereference a NULL > > pointer. > > > > It's

Re: strange crashes in tcp_poll() via epoll_wait

2013-07-19 Thread Eric Wong
Eric Dumazet wrote: > Hi Al > > I tried to debug strange crashes in tcp_poll() called from > sys_epoll_wait() -> sock_poll() > > The symptom is that sock->sk is NULL and we therefore dereference a NULL > pointer. > > It's really rare crashes but still, it would be nice to understand where > is

strange crashes in tcp_poll() via epoll_wait

2013-07-19 Thread Eric Dumazet
Hi Al I tried to debug strange crashes in tcp_poll() called from sys_epoll_wait() -> sock_poll() The symptom is that sock->sk is NULL and we therefore dereference a NULL pointer. It's really rare crashes but still, it would be nice to understand where is the bug. Presumably latest kernels would

strange crashes in tcp_poll() via epoll_wait

2013-07-19 Thread Eric Dumazet
Hi Al I tried to debug strange crashes in tcp_poll() called from sys_epoll_wait() - sock_poll() The symptom is that sock-sk is NULL and we therefore dereference a NULL pointer. It's really rare crashes but still, it would be nice to understand where is the bug. Presumably latest kernels would

Re: strange crashes in tcp_poll() via epoll_wait

2013-07-19 Thread Eric Wong
Eric Dumazet eric.duma...@gmail.com wrote: Hi Al I tried to debug strange crashes in tcp_poll() called from sys_epoll_wait() - sock_poll() The symptom is that sock-sk is NULL and we therefore dereference a NULL pointer. It's really rare crashes but still, it would be nice to understand

Re: strange crashes in tcp_poll() via epoll_wait

2013-07-19 Thread Eric Dumazet
On Fri, 2013-07-19 at 23:50 +, Eric Wong wrote: Eric Dumazet eric.duma...@gmail.com wrote: Hi Al I tried to debug strange crashes in tcp_poll() called from sys_epoll_wait() - sock_poll() The symptom is that sock-sk is NULL and we therefore dereference a NULL pointer. It's

Re: strange crashes in tcp_poll() via epoll_wait

2013-07-19 Thread Eric Wong
Eric Dumazet eric.duma...@gmail.com wrote: On Fri, 2013-07-19 at 23:50 +, Eric Wong wrote: Eric Dumazet eric.duma...@gmail.com wrote: Hi Al I tried to debug strange crashes in tcp_poll() called from sys_epoll_wait() - sock_poll() The symptom is that sock-sk is NULL and