(Its partner, IN_DEV_RX_REDIRECTS, is in fact referenced.)
My guess would be to solve this by adding:
/* Make sure redirects are enabled. */
if (!IN_DEV_TX_REDIRECTS(skb->dev->ip_ptr))
return;
to ip_rt_send_redirect() in route.c, but this needs verification by someone
who knows what they're doing. For my own purposes I've just put a "return"
statement there to turn them off entirely.
(I need this to work around problems with a broken ISDN router.)
As a secondary issue, the Documentation/networking/ip-sysctl.txt file has
apparently become out of date w.r.t. the current implementation. *shrug*
Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/