patch-2.4.19 linux-2.4.19/net/core/skbuff.c

Next file: linux-2.4.19/net/core/sock.c
Previous file: linux-2.4.19/net/core/pktgen.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/net/core/skbuff.c linux-2.4.19/net/core/skbuff.c
@@ -748,7 +748,7 @@
 			if (skb_cloned(skb)) {
 				if (!realloc)
 					BUG();
-				if (!pskb_expand_head(skb, 0, 0, GFP_ATOMIC))
+				if (pskb_expand_head(skb, 0, 0, GFP_ATOMIC))
 					return -ENOMEM;
 			}
 			if (len <= offset) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)