patch-2.1.106 linux/net/ipv4/fib_frontend.c
Next file: linux/net/ipv4/fib_semantics.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jun 11 22:52:34 1998
- Orig file:
v2.1.105/linux/net/ipv4/fib_frontend.c
- Orig date:
Thu May 14 19:47:44 1998
diff -u --recursive --new-file v2.1.105/linux/net/ipv4/fib_frontend.c linux/net/ipv4/fib_frontend.c
@@ -5,7 +5,7 @@
*
* IPv4 Forwarding Information Base: FIB frontend.
*
- * Version: $Id: fib_frontend.c,v 1.10 1998/05/08 21:06:27 davem Exp $
+ * Version: $Id: fib_frontend.c,v 1.11 1998/06/11 03:15:40 davem Exp $
*
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
*
@@ -271,6 +271,8 @@
if (tb)
err = tb->tb_insert(tb, &req.rtm, &rta, &req.nlh, NULL);
}
+ if (rta.rta_mx)
+ kfree(rta.rta_mx);
}
rtnl_unlock();
return err;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov