patch-2.4.22 linux-2.4.22/net/atm/br2684.c
Next file: linux-2.4.22/net/atm/clip.c
Previous file: linux-2.4.22/net/atm/atm_misc.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/net/atm/br2684.c
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.21/net/atm/br2684.c linux-2.4.22/net/atm/br2684.c
@@ -189,7 +189,6 @@
return 0;
}
atomic_add(skb->truesize, &atmvcc->sk->wmem_alloc);
- ATM_SKB(skb)->iovcnt = 0;
ATM_SKB(skb)->atm_options = atmvcc->atm_options;
brdev->stats.tx_packets++;
brdev->stats.tx_bytes += skb->len;
@@ -482,6 +481,7 @@
}
brdev->stats.rx_packets++;
brdev->stats.rx_bytes += skb->len;
+ memset(ATM_SKB(skb), 0, sizeof(struct atm_skb_data));
netif_rx(skb);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)