Re: fasync_remove_entry oops

2013-03-07 Thread Dave Jones
On Thu, Mar 07, 2013 at 06:54:09PM -0500, Dave Jones wrote: > On Thu, Mar 07, 2013 at 03:46:24PM -0800, Linus Torvalds wrote: > > On Thu, Mar 7, 2013 at 3:14 PM, Dave Jones wrote: > > > And.. More fun with pipes. > > > for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { > > >

Re: fasync_remove_entry oops

2013-03-07 Thread Dave Jones
On Thu, Mar 07, 2013 at 03:46:24PM -0800, Linus Torvalds wrote: > On Thu, Mar 7, 2013 at 3:14 PM, Dave Jones wrote: > > And.. More fun with pipes. > > for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { > > 1650: 49 8b 06mov(%r14),%rax > > > > So we

Re: fasync_remove_entry oops

2013-03-07 Thread Linus Torvalds
On Thu, Mar 7, 2013 at 3:14 PM, Dave Jones wrote: > And.. More fun with pipes. > for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { > 1650: 49 8b 06mov(%r14),%rax > > So we got to fasync_remove_entry with a NULL fa struct. > > Can we just add more NULL c

fasync_remove_entry oops

2013-03-07 Thread Dave Jones
And.. More fun with pipes. BUG: unable to handle kernel NULL pointer dereference at 0080 IP: [] fasync_remove_entry+0x30/0xd0 PGD 1225c5067 PUD 11a133067 PMD 0 Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC Modules linked in: rfcomm bnep nfnetlink can_bcm l2tp_ppp l2tp_core scsi_transpo