patch-2.4.10 linux/net/ipv4/netfilter/ipfwadm_core.c

Next file: linux/net/ipv4/route.c
Previous file: linux/net/ipv4/netfilter/ipchains_core.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/net/ipv4/netfilter/ipfwadm_core.c linux/net/ipv4/netfilter/ipfwadm_core.c
@@ -20,7 +20,7 @@
  *	license in recognition of the original copyright.
  *				-- Alan Cox.
  *
- *	$Id: ipfwadm_core.c,v 1.8 2001/08/13 18:56:12 davem Exp $
+ *	$Id: ipfwadm_core.c,v 1.9 2001/09/18 22:29:10 davem Exp $
  *
  *	Ported from BSD to Linux,
  *		Alan Cox 22/Nov/1994.
@@ -648,7 +648,7 @@
 			struct sk_buff *skb=alloc_skb(128, GFP_ATOMIC);
 			if(skb)
 			{
-				int len = min(unsigned int,
+				int len = min_t(unsigned int,
 					      128, ntohs(ip->tot_len));
 
 				skb_put(skb,len);

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