patch-2.3.45 linux/drivers/net/arcnet/rfc1201.c

Next file: linux/drivers/net/ariadne.c
Previous file: linux/drivers/net/arcnet/com90xx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.44/linux/drivers/net/arcnet/rfc1201.c linux/drivers/net/arcnet/rfc1201.c
@@ -171,7 +171,7 @@
 			BUGMSG(D_EXTRA, "aborting assembly (seq=%d) for unsplit packet (splitflag=%d, seq=%d)\n",
 			 in->sequence, soft->split_flag, soft->sequence);
 			lp->rfc1201.aborted_seq = soft->sequence;
-			kfree_skb(in->skb);
+			dev_kfree_skb_irq(in->skb);
 			lp->stats.rx_errors++;
 			lp->stats.rx_missed_errors++;
 			in->skb = NULL;
@@ -255,7 +255,7 @@
 			BUGMSG(D_EXTRA, "wrong seq number (saddr=%d, expected=%d, seq=%d, splitflag=%d)\n",
 			       saddr, in->sequence, soft->sequence,
 			       soft->split_flag);
-			kfree_skb(in->skb);
+			dev_kfree_skb_irq(in->skb);
 			in->skb = NULL;
 			lp->stats.rx_errors++;
 			lp->stats.rx_missed_errors++;
@@ -271,7 +271,7 @@
 				       soft->sequence);
 				lp->stats.rx_errors++;
 				lp->stats.rx_missed_errors++;
-				kfree_skb(in->skb);
+				dev_kfree_skb_irq(in->skb);
 			}
 			in->sequence = soft->sequence;
 			in->numpackets = ((unsigned) soft->split_flag >> 1) + 2;
@@ -332,7 +332,7 @@
 				       "(seq=%d) aborted (splitflag=%d, seq=%d)\n",
 				       in->sequence, soft->split_flag, soft->sequence);
 				lp->rfc1201.aborted_seq = soft->sequence;
-				kfree_skb(in->skb);
+				dev_kfree_skb_irq(in->skb);
 				in->skb = NULL;
 				lp->stats.rx_errors++;
 				lp->stats.rx_missed_errors++;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)