[openib-general] [PATCH] ipv4/fib_frontend.c: (Re)export ip_dev_find for 2.6.14

Hal Rosenstock halr at voltaire.com
Tue Oct 4 08:01:14 PDT 2005


ipv4/fib_frontend.c: (Re)export ip_dev_find for 2.6.14

(There is emerging functionality (not yet pushed upstream) in the IB
subsystem which relies on this being available. ip_dev_find is used to
find a valid IPoIB device when the outgoing device returned by the route
lookup (ip_route_output_key) is using the loopback interface. A valid
IPoIB device is needed to perform sending an ARP and doing an IB path
lookup so that an IB connection can be made).

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

--- a/net/ipv4/fib_frontend.c
+++ b/net/ipv4/fib_frontend.c
@@ -661,4 +661,5 @@ void __init ip_fib_init(void)
 }
 
 EXPORT_SYMBOL(inet_addr_type);
+EXPORT_SYMBOL(ip_dev_find);
 EXPORT_SYMBOL(ip_rt_ioctl);




More information about the general mailing list