patch-2.0.34 linux/net/ipv4/ip_forward.c

Next file: linux/net/ipv4/ip_fragment.c
Previous file: linux/net/ipv4/igmp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.33/linux/net/ipv4/ip_forward.c linux/net/ipv4/ip_forward.c
@@ -323,7 +323,7 @@
 #ifdef CONFIG_IP_MASQUERADE
 		__u32	premasq_saddr = iph->saddr;
 		__u16	premasq_sport = 0;
-		__u16	*portptr;
+		__u16	*portptr=NULL;
 		long	premasq_len_diff = skb->len;
 
 		if (iph->protocol==IPPROTO_UDP ||

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov