patch-2.4.13 linux/drivers/net/hamradio/scc.c
Next file: linux/drivers/net/hplance.c
Previous file: linux/drivers/net/gt96100eth.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Fri Oct 12 14:22:49 2001
- Orig file:
v2.4.12/linux/drivers/net/hamradio/scc.c
- Orig date:
Sun Sep 23 11:40:58 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/net/hamradio/scc.c linux/drivers/net/hamradio/scc.c
@@ -1,5 +1,3 @@
-#define RCS_ID "$Id: scc.c,v 1.75 1998/11/04 15:15:01 jreuter Exp jreuter $"
-
#define VERSION "3.0"
/*
@@ -18,7 +16,7 @@
********************************************************************
- Copyright (c) 1993, 2000 Joerg Reuter DL1BKE
+ Copyright (c) 1993, 2001 Joerg Reuter DL1BKE
portions (c) 1993 Guido ten Dolle PE1NNZ
@@ -106,6 +104,10 @@
2000-02-13 Fixed for new network driver interface changes, still
does TX timeouts itself since it uses its own queue
scheme.
+ 2001-10-05 Set skb to NULL on Rx_OVR in scc_spint() (tnx everybody
+ who insisted that the skb gets in fact re-used by the
+ following code otherwise. I think we have another Z8530
+ bug here...)
Thanks to all who contributed to this driver with ideas and bug
reports!
@@ -583,6 +585,7 @@
if (skb != NULL)
dev_kfree_skb_irq(skb);
scc->rx_buff = skb = NULL;
+ skb = NULL; /* avoid skb being reused */
}
if(status & END_FR && skb != NULL) /* end of frame */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)