summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/pcbit/capi.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /drivers/isdn/pcbit/capi.c
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'drivers/isdn/pcbit/capi.c')
-rw-r--r--drivers/isdn/pcbit/capi.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/isdn/pcbit/capi.c b/drivers/isdn/pcbit/capi.c
index 1c752835d..790da8792 100644
--- a/drivers/isdn/pcbit/capi.c
+++ b/drivers/isdn/pcbit/capi.c
@@ -147,7 +147,7 @@ int capi_conn_resp(struct pcbit_chan* chan, struct sk_buff **skb)
return -1;
}
- (*skb)->free = 1;
+ SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
@@ -170,7 +170,7 @@ int capi_conn_active_req(struct pcbit_chan* chan, struct sk_buff **skb)
return -1;
}
- (*skb)->free = 1;
+ SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
@@ -200,7 +200,7 @@ int capi_conn_active_resp(struct pcbit_chan* chan, struct sk_buff **skb)
return -1;
}
- (*skb)->free = 1;
+ SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
@@ -222,7 +222,7 @@ int capi_select_proto_req(struct pcbit_chan *chan, struct sk_buff **skb,
return -1;
}
- (*skb)->free = 1;
+ SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
@@ -285,7 +285,7 @@ int capi_activate_transp_req(struct pcbit_chan *chan, struct sk_buff **skb)
return -1;
}
- (*skb)->free = 1;
+ SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
@@ -338,7 +338,7 @@ int capi_tdata_resp(struct pcbit_chan *chan, struct sk_buff ** skb)
return -1;
}
- (*skb)->free = 1;
+ SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
@@ -357,7 +357,7 @@ int capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause)
return -1;
}
- (*skb)->free = 1;
+ SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2) ) = callref;
@@ -382,7 +382,7 @@ int capi_disc_resp(struct pcbit_chan *chan, struct sk_buff **skb)
return -1;
}
- (*skb)->free = 1;
+ SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2)) = chan->callref;