--- linux/net/ipv4/ip_fw.c	Sat Mar  8 19:11:58 1997
+++ linux/net/ipv4/ip_fw.c	Sat Mar  8 19:10:54 1997
@@ -573,10 +573,10 @@
 #ifdef CONFIG_IP_FIREWALL_NETLINK
 		if((policy&IP_FW_F_PRN) && (answer == FW_REJECT || answer == FW_BLOCK))
 		{
-			struct sk_buff *skb=alloc_skb(128, GFP_ATOMIC);
+			int len=ntohs(ip->tot_len);
+			struct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
 			if(skb)
 			{
-				int len=min(128,ntohs(ip->tot_len));
 				skb_put(skb,len);
 				memcpy(skb->data,ip,len);
 				if(netlink_post(NETLINK_FIREWALL, skb))
