diff options
Diffstat (limited to 'net/atm/lec.c')
-rw-r--r-- | net/atm/lec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c index 5a95fcf6f9b6..d7f5cf5b7594 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c | |||
@@ -182,9 +182,8 @@ lec_send(struct atm_vcc *vcc, struct sk_buff *skb) | |||
182 | struct net_device *dev = skb->dev; | 182 | struct net_device *dev = skb->dev; |
183 | 183 | ||
184 | ATM_SKB(skb)->vcc = vcc; | 184 | ATM_SKB(skb)->vcc = vcc; |
185 | ATM_SKB(skb)->atm_options = vcc->atm_options; | 185 | atm_account_tx(vcc, skb); |
186 | 186 | ||
187 | refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); | ||
188 | if (vcc->send(vcc, skb) < 0) { | 187 | if (vcc->send(vcc, skb) < 0) { |
189 | dev->stats.tx_dropped++; | 188 | dev->stats.tx_dropped++; |
190 | return; | 189 | return; |