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 static inline and
ip_tos2prio is externed.  To get this to build I either had to create
a exported stub for rt_tos2priority(), or exprt ip_tos2prio.

If the stub is a better way to go, I'll do that instead.

-vlad

Patrick McHardy wrote:
> 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 "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to