patch-2.1.111 linux/drivers/net/tlan.c
Next file: linux/drivers/scsi/fdomain.c
Previous file: linux/drivers/net/hamradio/mkiss.h
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Tue Jul 21 11:39:16 1998
- Orig file:
v2.1.110/linux/drivers/net/tlan.c
- Orig date:
Tue Jul 21 00:15:31 1998
diff -u --recursive --new-file v2.1.110/linux/drivers/net/tlan.c linux/drivers/net/tlan.c
@@ -779,7 +779,7 @@
if ( ! priv->phyOnline ) {
TLAN_DBG( TLAN_DEBUG_TX, "TLAN TRANSMIT: %s PHY is not ready\n", dev->name );
- dev_kfree_skb( skb, FREE_WRITE );
+ dev_kfree_skb( skb );
return 0;
}
@@ -837,7 +837,7 @@
CIRC_INC( priv->txTail, TLAN_NUM_TX_LISTS );
if ( bbuf ) {
- dev_kfree_skb( skb, FREE_WRITE );
+ dev_kfree_skb( skb );
}
dev->trans_start = jiffies;
@@ -1126,7 +1126,7 @@
head_list = priv->txList + priv->txHead;
if ( ! bbuf ) {
- dev_kfree_skb( (struct sk_buff *) head_list->buffer[9].address, FREE_WRITE );
+ dev_kfree_skb( (struct sk_buff *) head_list->buffer[9].address );
head_list->buffer[9].address = 0;
}
@@ -1692,7 +1692,7 @@
list = priv->txList + i;
skb = (struct sk_buff *) list->buffer[9].address;
if ( skb ) {
- dev_kfree_skb( skb, FREE_WRITE );
+ dev_kfree_skb( skb );
list->buffer[9].address = 0;
}
}
@@ -1701,7 +1701,7 @@
list = priv->rxList + i;
skb = (struct sk_buff *) list->buffer[9].address;
if ( skb ) {
- dev_kfree_skb( skb, FREE_READ );
+ dev_kfree_skb( skb );
list->buffer[9].address = 0;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov