Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89997
b: refs/heads/master
c: 8082c37
h: refs/heads/master
i:
  89995: 0347eca
v: v3
  • Loading branch information
YOSHIFUJI Hideaki committed Mar 4, 2008
1 parent 466eba1 commit 1f618cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0e7b8dcd16eb91b9cd8ecc07c4094512f20d7e3c
refs/heads/master: 8082c37cdc31fb0ed178d9d706bf7568ada0edd9
2 changes: 1 addition & 1 deletion trunk/drivers/net/cxgb3/l2t.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh)
} else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE))
setup_l2e_send_pending(dev, NULL, e);
} else {
e->state = neigh_is_connected(neigh) ?
e->state = neigh->nud_state & NUD_CONNECTED ?
L2T_STATE_VALID : L2T_STATE_STALE;
if (memcmp(e->dmac, neigh->ha, 6))
setup_l2e_send_pending(dev, NULL, e);
Expand Down
6 changes: 0 additions & 6 deletions trunk/include/net/neighbour.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,6 @@ static inline void neigh_confirm(struct neighbour *neigh)
neigh->confirmed = jiffies;
}

static inline int neigh_is_connected(struct neighbour *neigh)
{
return neigh->nud_state&NUD_CONNECTED;
}


static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb)
{
neigh->used = jiffies;
Expand Down

0 comments on commit 1f618cc

Please sign in to comment.