Re: [PATCH] Export ip_tos2prio for module use

2005-08-31 Thread David S. Miller
From: Vlad Yasevich <[EMAIL PROTECTED]> Date: Wed, 31 Aug 2005 10:10:48 -0400 > I am trying to teach SCTP about the TOS settings on a per-association > basis. While trying to do that, I was using rt_tos2priority call. > Everything worked great while sctp was built into the kernel, but > builds fa

Re: [PATCH] Export ip_tos2prio for module use

2005-08-31 Thread David S. Miller
From: Vlad Yasevich <[EMAIL PROTECTED]> Date: Wed, 31 Aug 2005 09:16:32 -0400 > Declares ip_tos2prio as an exported symbol, so that modules > wishing to use rt_tos2priority() call, may do so. > > Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> When you add an in-tree legitimate use, we'll expor

Re: [PATCH] Export ip_tos2prio for module use

2005-08-31 Thread Vlad Yasevich
Ok. I'll hold off on this till the full patch is complete. Thanks -vlad Patrick McHardy wrote: > Vlad Yasevich wrote: > >>I am trying to teach SCTP about the TOS settings on a per-association >>basis. While trying to do that, I was using rt_tos2priority call. >>Everything worked great while sc

Re: [PATCH] Export ip_tos2prio for module use

2005-08-31 Thread Patrick McHardy
Vlad Yasevich wrote: > I am trying to teach SCTP about the TOS settings on a per-association > basis. While trying to do that, I was using rt_tos2priority call. > Everything worked great while sctp was built into the kernel, but > builds failed when building as a module. > > I tracked it down to

Re: [PATCH] Export ip_tos2prio for module use

2005-08-31 Thread Vlad Yasevich
I am trying to teach SCTP about the TOS settings on a per-association basis. While trying to do that, I was using rt_tos2priority call. Everything worked great while sctp was built into the kernel, but builds failed when building as a module. I tracked it down to this code. rt_tos2prority is a s

Re: [PATCH] Export ip_tos2prio for module use

2005-08-31 Thread Patrick McHardy
Vlad Yasevich wrote: Declares ip_tos2prio as an exported symbol, so that modules wishing to use rt_tos2priority() call, may do so. And which ones would that be? We usually don't export symbols unless there is an in-kernel user that needs it. - To unsubscribe from this list: send the line "unsub

[PATCH] Export ip_tos2prio for module use

2005-08-31 Thread Vlad Yasevich
Declares ip_tos2prio as an exported symbol, so that modules wishing to use rt_tos2priority() call, may do so. Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> diff --git a/net/ipv4/route.c b/net/ipv4/route.c --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -3204,3 +3204,4 @@ int __init ip_rt_init