diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-27 23:54:29 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-02-27 23:54:29 -0800 |
| commit | 1a075fb1eb70cb6db2de4a2c19ba1de85aadd832 (patch) | |
| tree | 3ff0bc8f1306879b1104f9ec20ecff4d9d1c0b99 | |
| parent | 12414d6e2e55d6ba5dbf1fc63e8f96c9060345d1 (diff) | |
[ATM]: Gcc-3.5 fix for net/atm/lec.c
| -rw-r--r-- | net/atm/lec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c index 251a081e5691..498229000afe 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c @@ -793,7 +793,7 @@ lec_vcc_attach(struct atm_vcc *vcc, void *arg) return -ENOMEM; vpriv->xoff = 0; vpriv->old_pop = vcc->pop; - LEC_VCC_PRIV(vcc) = vpriv; + vcc->user_back = vpriv; vcc->pop = lec_pop; lec_vcc_added(dev_lec[ioc_data.dev_num]->priv, &ioc_data, vcc, vcc->push); @@ -1420,7 +1420,7 @@ lec_arp_clear_vccs(struct lec_arp_table *entry) if (vpriv->xoff) netif_wake_queue(dev); kfree(vpriv); - LEC_VCC_PRIV(vcc) = NULL; + vcc->user_back = NULL; vcc->push = entry->old_push; vcc_release_async(vcc, -EPIPE); vcc = NULL; @@ -2374,7 +2374,7 @@ lec_mcast_make(struct lec_priv *priv, struct atm_vcc *vcc) return -ENOMEM; vpriv->xoff = 0; vpriv->old_pop = vcc->pop; - LEC_VCC_PRIV(vcc) = vpriv; + vcc->user_back = vpriv; vcc->pop = lec_pop; lec_arp_get(priv); to_add = make_entry(priv, mac_addr); |
