patch-2.0.31 linux/drivers/isdn/pcbit/capi.c

Next file: linux/drivers/isdn/pcbit/drv.c
Previous file: linux/drivers/isdn/pcbit/callbacks.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.30/linux/drivers/isdn/pcbit/capi.c linux/drivers/isdn/pcbit/capi.c
@@ -147,7 +147,7 @@
 		return -1;
 	}
 
-        (*skb)->free = 1;
+        SET_SKB_FREE((*skb));
 
 
         *((ushort*) skb_put(*skb, 2) ) = chan->callref;  
@@ -170,7 +170,7 @@
 		return -1;
 	}
 
-        (*skb)->free = 1;
+        SET_SKB_FREE((*skb));
 
         *((ushort*) skb_put(*skb, 2) ) = chan->callref;  
 
@@ -200,7 +200,7 @@
 		return -1;
 	}
 
-        (*skb)->free = 1;
+        SET_SKB_FREE((*skb));
 
         *((ushort*) skb_put(*skb, 2) ) = chan->callref;  
 
@@ -222,7 +222,7 @@
 		return -1;
 	}
 
-        (*skb)->free = 1;
+        SET_SKB_FREE((*skb));
   
         *((ushort*) skb_put(*skb, 2) ) = chan->callref;  
 
@@ -285,7 +285,7 @@
 		return -1;
 	}
 
-        (*skb)->free = 1;
+        SET_SKB_FREE((*skb));
 
         *((ushort*) skb_put(*skb, 2) ) = chan->callref;  
 
@@ -338,7 +338,7 @@
 		return -1;
 	}
 
-        (*skb)->free = 1;
+        SET_SKB_FREE((*skb));
 
         *((ushort*) skb_put(*skb, 2) ) = chan->callref;  
 
@@ -357,7 +357,7 @@
 		return -1;
 	}
 
-        (*skb)->free = 1;
+        SET_SKB_FREE((*skb));
 
         *((ushort*) skb_put(*skb, 2) ) = callref;  
 
@@ -382,7 +382,7 @@
 		return -1;
 	}
 
-        (*skb)->free = 1;
+        SET_SKB_FREE((*skb));
 
         *((ushort*) skb_put(*skb, 2)) = chan->callref;  
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov