patch-2.1.79 linux/net/ipv6/ip6_fw.c
Next file: linux/net/ipv6/ip6_output.c
Previous file: linux/net/ipv6/ip6_fib.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Jan 12 15:28:28 1998
- Orig file:
v2.1.78/linux/net/ipv6/ip6_fw.c
- Orig date:
Mon Dec 1 12:04:17 1997
diff -u --recursive --new-file v2.1.78/linux/net/ipv6/ip6_fw.c linux/net/ipv6/ip6_fw.c
@@ -5,7 +5,7 @@
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
- * $Id: ip6_fw.c,v 1.7 1997/10/06 23:09:54 davem Exp $
+ * $Id: ip6_fw.c,v 1.8 1997/12/13 21:53:11 kuznet Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -302,6 +302,7 @@
rtmsg.rtmsg_flags = RTF_NONEXTHOP|RTF_POLICY;
rt = ip6_route_add(&rtmsg, &err);
+ /* BUGGGG! rt can point to nowhere. */
if (rt == NULL) {
ip6_fwrule_free(rl);
return -ENOMEM;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov