diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/cxgb3/l2t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/l2t.c b/drivers/net/cxgb3/l2t.c index 865faee53e17..f510140885ae 100644 --- a/drivers/net/cxgb3/l2t.c +++ b/drivers/net/cxgb3/l2t.c | |||
@@ -407,7 +407,7 @@ found: | |||
407 | } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) | 407 | } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) |
408 | setup_l2e_send_pending(dev, NULL, e); | 408 | setup_l2e_send_pending(dev, NULL, e); |
409 | } else { | 409 | } else { |
410 | e->state = neigh_is_connected(neigh) ? | 410 | e->state = neigh->nud_state & NUD_CONNECTED ? |
411 | L2T_STATE_VALID : L2T_STATE_STALE; | 411 | L2T_STATE_VALID : L2T_STATE_STALE; |
412 | if (memcmp(e->dmac, neigh->ha, 6)) | 412 | if (memcmp(e->dmac, neigh->ha, 6)) |
413 | setup_l2e_send_pending(dev, NULL, e); | 413 | setup_l2e_send_pending(dev, NULL, e); |