patch-2.4.21 linux-2.4.21/drivers/net/sgiseeq.c
Next file: linux-2.4.21/drivers/net/shaper.c
Previous file: linux-2.4.21/drivers/net/seeq8005.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-06-13 07:51:35.000000000 -0700
- Orig file:
linux-2.4.20/drivers/net/sgiseeq.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.20/drivers/net/sgiseeq.c linux-2.4.21/drivers/net/sgiseeq.c
@@ -537,6 +537,8 @@
* added this new entry and restarted it.
*/
memcpy((char *)(long)td->buf_vaddr, skb->data, skblen);
+ if(len != skblen)
+ memset((char *)(long)td->buf_vaddr + skb->len, 0, len-skblen);
td->tdma.cntinfo = (len & HPCDMA_BCNT) |
(HPCDMA_XIU | HPCDMA_EOXP | HPCDMA_XIE | HPCDMA_EOX);
if (sp->tx_old != sp->tx_new) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)