patch-1.3.7 linux/net/core/sock.c
Next file: linux/net/ethernet/eth.c
Previous file: linux/net/core/skbuff.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jul 5 13:06:27 1995
- Orig file:
v1.3.6/linux/net/core/sock.c
- Orig date:
Fri Jun 30 16:22:31 1995
diff -u --recursive --new-file v1.3.6/linux/net/core/sock.c linux/net/core/sock.c
@@ -382,7 +382,7 @@
void sock_wfree(struct sock *sk, struct sk_buff *skb)
{
int s=skb->truesize;
-#ifdef CONFIG_SKB_CHECK
+#if CONFIG_SKB_CHECK
IS_SKB(skb);
#endif
kfree_skbmem(skb);
@@ -403,7 +403,7 @@
void sock_rfree(struct sock *sk, struct sk_buff *skb)
{
int s=skb->truesize;
-#ifdef CONFIG_SKB_CHECK
+#if CONFIG_SKB_CHECK
IS_SKB(skb);
#endif
kfree_skbmem(skb);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this