> On Fri, 11 Jul 2003, David S. Miller wrote:
> > Oops, turns out this doesn't work. data_ready is never NULL, look at
> > how netlink_kernel_create() works.
> It's ok: sk->data_ready is never null, but nlk_sk(sk)->data_ready will be
> null unless an input function is provided there.
> > Also, the broadcast case probably needs to be handled
> > too?
> Netlink sockets created by netlink_kernel_create() do not subscribe to any
> groups and are not broadcast to.
Oops, you're right on both counts, I brainfarted here.
I'll apply your original patch, thanks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/