Update compat code for new 2.6.25 code

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
This commit is contained in:
Jan Engelhardt
2008-02-21 13:29:31 +01:00
parent 1e34f02034
commit 75e88a7321
4 changed files with 62 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ static bool tee_routing(struct sk_buff *skb,
};
/* Trying to route the packet using the standard routing table. */
err = ip_route_output_key(&rt, &fl);
err = ip_route_output_key(&init_net, &rt, &fl);
if (err != 0) {
if (net_ratelimit())
pr_debug(KBUILD_MODNAME