Re: RDMA/nes: Fix mis-merge

From: Linus Torvalds
Date: Thu Mar 26 2009 - 19:43:54 EST




On Thu, 26 Mar 2009, Linus Torvalds wrote:

>
>
> On Thu, 26 Mar 2009, David Miller wrote:
> >
> > Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
>
> Can I get a sign-off from Roland too?

Btw, as far as I can tell, that function had never been tested with any
polling. It had a line like

netif_napi_add(netdev, &nesvnic->napi, nes_netdev_poll, 128);

but that line was _before_ 'nesvnic' was actually initialized (well, it
had been initialized to NULL, so it passed in some NULL-pointer-offset to
that function).

I moved that initialization up in the merge, but I obviously didn't test
anything. So I'd suggest somebody actually test this case, because it
clearly must have gotten no testing at all.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/