patch-2.1.23 linux/net/ipv4/ip_sockglue.c

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

diff -u --recursive --new-file v2.1.22/linux/net/ipv4/ip_sockglue.c linux/net/ipv4/ip_sockglue.c
@@ -170,7 +170,7 @@
 int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
 {
 	int val,err;
-	unsigned char ucval;
+	unsigned char ucval = 0;
 #if defined(CONFIG_IP_FIREWALL) || defined(CONFIG_IP_ACCT)
 	struct ip_fw tmp_fw;
 #endif	

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