patch-2.3.10 linux/net/ipx/af_ipx.c

Next file: linux/net/irda/compressors/irda_deflate.c
Previous file: linux/net/ipv6/udp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/net/ipx/af_ipx.c linux/net/ipx/af_ipx.c
@@ -794,7 +794,8 @@
 					if(call_fw_firewall(PF_IPX, skb->dev, ipx, NULL, &skb) == FW_ACCEPT)
 					{
 					        skb2=skb_clone(skb, GFP_ATOMIC);
-						ipxrtr_route_skb(skb2);
+						if(skb2)
+							ipxrtr_route_skb(skb2);
 					}
 				}
 			}

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