In drivers/infiniband/core/addr.c:

        neigh = dst->neighbour;
        if (!neigh || !(neigh->nud_state & NUD_VALID)) {
                neigh_event_send(dst->neighbour, NULL);
                ret = -ENODATA;
                goto put;
        }

neigh_event_send() can be passed a NULL pointer, and it will
OOPS when this happens.

Probably you want to just guard the neigh_event_send() call with a
NULL check, and actually use 'neigh' instead of reloading
dst->neighbour unnecessarily.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to