diff options
Diffstat (limited to 'drivers/net/cxgb3')
-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 d660af74606e..17ed4c3527b7 100644 --- a/drivers/net/cxgb3/l2t.c +++ b/drivers/net/cxgb3/l2t.c | |||
@@ -337,7 +337,7 @@ struct l2t_entry *t3_l2t_get(struct t3cdev *cdev, struct neighbour *neigh, | |||
337 | atomic_set(&e->refcnt, 1); | 337 | atomic_set(&e->refcnt, 1); |
338 | neigh_replace(e, neigh); | 338 | neigh_replace(e, neigh); |
339 | if (neigh->dev->priv_flags & IFF_802_1Q_VLAN) | 339 | if (neigh->dev->priv_flags & IFF_802_1Q_VLAN) |
340 | e->vlan = VLAN_DEV_INFO(neigh->dev)->vlan_id; | 340 | e->vlan = vlan_dev_info(neigh->dev)->vlan_id; |
341 | else | 341 | else |
342 | e->vlan = VLAN_NONE; | 342 | e->vlan = VLAN_NONE; |
343 | spin_unlock(&e->lock); | 343 | spin_unlock(&e->lock); |