patch-2.3.10 linux/net/ipv6/ip6_fw.c
Next file: linux/net/ipv6/proc.c
Previous file: linux/net/ipv6/af_inet6.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Jul 5 20:03:14 1999
- Orig file:
v2.3.9/linux/net/ipv6/ip6_fw.c
- Orig date:
Wed Jun 9 14:45:37 1999
diff -u --recursive --new-file v2.3.9/linux/net/ipv6/ip6_fw.c linux/net/ipv6/ip6_fw.c
@@ -92,12 +92,11 @@
struct ip6_fw_rule *rl;
rl = kmalloc(sizeof(struct ip6_fw_rule), GFP_ATOMIC);
-
- memset(rl, 0, sizeof(struct ip6_fw_rule));
-
if (rl)
+ {
+ memset(rl, 0, sizeof(struct ip6_fw_rule));
rl->flowr.ops = &ip6_fw_ops;
-
+ }
return rl;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)