diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /net/ipv6/ip6_fw.c | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'net/ipv6/ip6_fw.c')
-rw-r--r-- | net/ipv6/ip6_fw.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/ipv6/ip6_fw.c b/net/ipv6/ip6_fw.c index ddce1ccfa..7316a30f1 100644 --- a/net/ipv6/ip6_fw.c +++ b/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 @@ -266,14 +266,14 @@ int ip6_fw_reject(struct sk_buff *skb) * send it via netlink, as (rule, skb) */ - kfree_skb(skb, FREE_READ); + kfree_skb(skb); return 0; } int ip6_fw_discard(struct sk_buff *skb) { printk(KERN_DEBUG "ip6_fw: BUG fw_reject called\n"); - kfree_skb(skb, FREE_READ); + kfree_skb(skb); return 0; } @@ -302,6 +302,7 @@ int ip6_fw_msg_add(struct ip6_fw_msg *msg) 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; |