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

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