diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c index af939796750dba07fd713f83dc3cf473ce52c43e..d2bb5a9a303fcb7d86f3a38deea2e33e7d8e9c2c 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) { set_timeout(jiffies); } }