netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ipv4/fib_frontend.c: (Re)export ip_dev_find for 2.6.14
@ 2005-10-04 15:01 Hal Rosenstock
  2005-10-04 19:39 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2005-10-04 15:01 UTC (permalink / raw)
  To: netdev; +Cc: openib-general

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@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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ipv4/fib_frontend.c: (Re)export ip_dev_find for 2.6.14
  2005-10-04 15:01 [PATCH] ipv4/fib_frontend.c: (Re)export ip_dev_find for 2.6.14 Hal Rosenstock
@ 2005-10-04 19:39 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-10-04 19:39 UTC (permalink / raw)
  To: halr; +Cc: netdev, openib-general

From: Hal Rosenstock <halr@voltaire.com>
Date: 04 Oct 2005 11:01:14 -0400

> (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).

Then add this when this "emerging functionality" is pushed upstream.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-04 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04 15:01 [PATCH] ipv4/fib_frontend.c: (Re)export ip_dev_find for 2.6.14 Hal Rosenstock
2005-10-04 19:39 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).