Commit:     1f12667021c542236b1f10eb5d8b2d8f3a79ab48
Parent:     fa7252ed4d92397baf30e4a144af95a33eaa925b
Author:     Steve Wise <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 23 19:03:17 2007 -0600
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Sun Feb 4 14:11:57 2007 -0800

    RDMA/addr: Handle ethernet neighbour updates during route resolution
    The iWARP connection manager uses the ib_addr services to do route
    resolution (neighbour discovery in the IP world).  The ib_addr
    netevent callback routine, however, currently only acts on InfiniBand
    neighbour updates.  It needs to act on ethernet neighbour updates as
    This patch just removes filtering on device type altogether and will
    trigger on any neighour updates where the nud_type is valid.  This
    simplifies the code some.
    Signed-off-by: Steve Wise <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
 drivers/infiniband/core/addr.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c
index af93979..d2bb5a9 100644
--- a/drivers/infiniband/core/addr.c
+++ b/drivers/infiniband/core/addr.c
@@ -360,8 +360,7 @@ static int netevent_callback(struct notifier_block *self, 
unsigned long event,
        if (event == NETEVENT_NEIGH_UPDATE) {
                struct neighbour *neigh = ctx;
-               if (neigh->dev->type == ARPHRD_INFINIBAND &&
-                   (neigh->nud_state & NUD_VALID)) {
+               if (neigh->nud_state & NUD_VALID) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to